diff options
-rw-r--r-- | bash_include | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bash_include b/bash_include index cef7a46..9e8117e 100644 --- a/bash_include +++ b/bash_include @@ -127,8 +127,13 @@ alias less='less -RS' alias grep='grep --color=always' case "$OSTYPE" in - *gnu*) alias ls='ls --color=always -F' ;; - *freebsd*) alias ls='CLICOLOR=1 CLICOLOR_FORCE=1 ls -F' ;; + *gnu*) + alias ls='ls --color=always -F' + ;; + *freebsd*) + alias ls='CLICOLOR=1 CLICOLOR_FORCE=1 ls -F' + export LSCOLORS='ExGxFxdxCxDxDxhbadacad' + ;; esac # Non-aliased common tools (safe for use in script) |