2018-06-13 19:38:45 +00:00
|
|
|
#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
|
2018-06-18 19:12:35 +00:00
|
|
|
POWERLEVEL9K_MODE="awesome-fontconfig"
|
2020-06-11 14:18:03 +00:00
|
|
|
ZSH_THEME="powerlevel10k/powerlevel10k"
|
2018-06-13 19:38:45 +00:00
|
|
|
eval `dircolors ~/.dircolors/dircolors.256dark`
|
2018-06-15 18:36:33 +00:00
|
|
|
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir rbenv vcs)
|
2018-09-15 09:23:18 +00:00
|
|
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status virtualenv root_indicator background_jobs history time)
|
2018-06-13 19:38:45 +00:00
|
|
|
else
|
2020-06-14 19:50:30 +00:00
|
|
|
ZSH_THEME="rkj-repos"
|
2018-06-13 19:38:45 +00:00
|
|
|
eval `dircolors ~/.dircolors/dircolors.ansi-dark`
|
|
|
|
fi
|
|
|
|
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
|
2019-12-21 16:32:39 +00:00
|
|
|
if [ -z "$SSH_AUTH_SOCK" ] ; then
|
|
|
|
eval `ssh-agent -s`
|
|
|
|
fi
|