add virtualenv segment to prompt

This commit is contained in:
vincent 2018-09-15 11:23:18 +02:00
parent 4982e3e2a0
commit 5586b6a955
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,4 @@
let g:netrw_dirhistmax =10 let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =3 let g:netrw_dirhist_cnt =2
let g:netrw_dirhist_1='/home/vincent' let g:netrw_dirhist_1='/home'
let g:netrw_dirhist_2='/home/vincent/.cache' let g:netrw_dirhist_2='/home/vincent'
let g:netrw_dirhist_3='/home/vincent/conf2/i3/.config/i3'

View File

@ -10,6 +10,7 @@ if [ $TERM != "linux" ]; then
source /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme source /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme
eval `dircolors ~/.dircolors/dircolors.256dark` eval `dircolors ~/.dircolors/dircolors.256dark`
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir rbenv vcs) POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir rbenv vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status virtualenv root_indicator background_jobs history time)
else else
eval `dircolors ~/.dircolors/dircolors.ansi-dark` eval `dircolors ~/.dircolors/dircolors.ansi-dark`
fi fi