Further cross-platform tidyups.
[profile.git] / .profile.d / variables.bashrc
index 45f8302..3182c19 100644 (file)
@@ -6,7 +6,7 @@ export SSHTERM_EXEC=-e
 export TERM=linux
 unset LANG
 export LC_CTYPE=en_GB
-if ls --help 2>/dev/null | grep -qs gnu.org; then
+if ls --help 2>/dev/null | grep gnu.org >/dev/null; then
   export LS_OPTIONS="--color=auto -F -b --time-style=long-iso"
 elif [ "$SYSTEM" = "Darwin" ]; then
   export LS_OPTIONS="-G -F -b"