Only print LANG for interactive terminals

This commit is contained in:
Anthony Rose 2021-06-19 14:32:15 +01:00
parent ed21638ed0
commit 9e1cd70e71

View file

@ -214,4 +214,10 @@ then
. "$HOME/.bashrc.local"
fi
echo "LANG=$LANG"
case "$-" in
*i*)
echo "LANG=$LANG"
;;
*)
;;
esac