diff options
-rw-r--r-- | _zsh/90-aliases.zsh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/_zsh/90-aliases.zsh b/_zsh/90-aliases.zsh index 22e2486..7f41bc4 100644 --- a/_zsh/90-aliases.zsh +++ b/_zsh/90-aliases.zsh @@ -12,7 +12,11 @@ alias d='dirs -v | head -10' alias po=popd alias pu=pushd -alias ls='ls --color=auto' +if [[ -n "${IS_LINUX}" ]]; then + alias ls='ls --color=auto' +elif [[ -n "${IS_BSD}" ]]; then + alias ls='ls -G' +fi alias l='ls -lah' alias la='ls -lAh' alias ll='ls -lh' |