Fix ls alias on MacOS.

This commit is contained in:
David Tomaschik
2018-01-26 09:24:07 -08:00
parent a2acbeb8b5
commit 430bb6e7b9

View File

@@ -20,9 +20,13 @@ esac
autoload -U colors && colors autoload -U colors && colors
PS1="%{$fg[black]%}[%{$fg[yellow]%}%h%{$fg[black]%}] %{%(!.$fg[red].$fg[green])%}%8>..>%n%>>%{$fg[white]%}@%{$fg[blue]%}%12>..>%m%>>%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[white]%}%#%{$reset_color%} " PS1="%{$fg[black]%}[%{$fg[yellow]%}%h%{$fg[black]%}] %{%(!.$fg[red].$fg[green])%}%8>..>%n%>>%{$fg[white]%}@%{$fg[blue]%}%12>..>%m%>>%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[white]%}%#%{$reset_color%} "
# LS Colors if [ `uname` != 'Darwin' ] ; then
# ls Colors
alias ls='ls --color' alias ls='ls --color'
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
else
alias ls='ls -G'
fi
# Load oh-my-zsh # Load oh-my-zsh
if [ -d $HOME/.oh-my-zsh ] ; then if [ -d $HOME/.oh-my-zsh ] ; then