1
0
Fork 0

add jobs counter to zshrc + check mirroring to github

This commit is contained in:
Von Random 2014-12-06 15:49:07 +03:00
parent 2f79f16302
commit 13f1b09e00

View file

@ -165,10 +165,11 @@ if is_zsh; then
prompt_user='%(1000#..%(1205#..%B%F{red}%n%F{yellow}@%f%b))'
prompt_host='%m'
prompt_bang='%B%(!.%F{red}.%F{green})%#%f%b'
prompt_jobs='%(1j.%B%F{yellow}[%f%bjobs: %B%F{red}%j%F{yellow}]%f%b.)'
precmd() {
[[ -n ${vcs_enabled} ]] && vcs_info
if [[ -z ${hide_info} ]]; then
prompt_info="${lb}${prompt_user}${prompt_host}${bb}${prompt_cwd}${rb}${vcs_info_msg_0_}"
prompt_info="${lb}${prompt_user}${prompt_host}${bb}${prompt_cwd}${rb}${vcs_info_msg_0_}${prompt_jobs}"
else
prompt_info=''
fi