conf2/zsh/.zshrc.d/prompt
2018-06-18 21:12:35 +02:00

17 lines
604 B
Plaintext

#setting prompt
#call powerline
#if [ -f `which powerline-daemon` ]; then
#powerline-daemon -q
#. /usr/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh
#fi
##set zsh theme et dircolor en fonction de term
if [ $TERM != "linux" ]; then
POWERLEVEL9K_MODE="awesome-fontconfig"
source /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme
eval `dircolors ~/.dircolors/dircolors.256dark`
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir rbenv vcs)
else
eval `dircolors ~/.dircolors/dircolors.ansi-dark`
fi
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}