Better support on FreeBSD.

This commit is contained in:
David Tomaschik
2019-03-21 14:15:09 -07:00
parent 4cb51c3bba
commit f70488eab7
2 changed files with 5 additions and 9 deletions

View File

@@ -21,13 +21,7 @@ esac
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%} "
if [ `uname` != 'Darwin' ] ; then
# ls Colors
alias ls='ls --color'
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
else
alias ls='ls -G'
fi
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
# Load prezto
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then