]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
shell/aliases: Fix colors in normal ls.
authorSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 16:06:48 +0000 (17:06 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 11 Mar 2010 16:06:48 +0000 (17:06 +0100)
This bug was introduced in 0b47efd8a633ce89b988f5cd39410b8cfe3c37ae
where I forgot to add the -G.

shell/aliases

index 8edbc3f1e41fcd5219e3b603f9467700422d5a66..d9e827e5d8e2f363d2997407f9ef7146a156e46f 100644 (file)
@@ -50,7 +50,7 @@ if [ x$ls_color = xgnu ]; then
 # Normal ls with colors.
 elif [ x$ls_color = xcli ]; then
     ls() {
-        CLICOLOR_FORCE=1 my_ls $*
+        CLICOLOR_FORCE=1 my_ls -G $*
     }
 # Simple ls with no colors.
 else