Less convoluted rtp setting.
[profile.git] / .profile.d / ls.bashrc
index 88e76e0..c3c6e21 100644 (file)
@@ -7,7 +7,7 @@ if echo "$ls" | grep gnu.org >/dev/null; then
   eval `dircolors 2>/dev/null` 2>/dev/null
 
   LS_OPTIONS="--color=auto -F -b"
-  if echo $ls | grep -- --time-style >/dev/null; then
+  if echo "$ls" | grep -- --time-style >/dev/null; then
     LS_OPTIONS="$LS_OPTIONS --time-style=long-iso"
   fi
   export LS_OPTIONS