diff options
Diffstat (limited to '.config/aliasrc')
-rw-r--r-- | .config/aliasrc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.config/aliasrc b/.config/aliasrc index 1da43c6..364df5a 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -8,9 +8,13 @@ alias cp="cp -iv" alias mv="mv -iv" # Utility colours -alias ls="ls --color=auto --group-directories-first" alias grep="grep --color=auto" -alias diff="diff --color=auto" +if [ "$(uname -s)" != "Darwin" ]; then + alias ls="ls --color=auto --group-directories-first" + alias diff="diff --color=auto" +else + alias ls="ls -G" +fi # dotfiles management alias d="git --git-dir=$HOME/.dotlite.git --work-tree=$HOME" |