diff options
Diffstat (limited to 'base/zsh')
-rw-r--r-- | base/zsh/prompt_pure_setup | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/base/zsh/prompt_pure_setup b/base/zsh/prompt_pure_setup index a955849..c76dee2 100644 --- a/base/zsh/prompt_pure_setup +++ b/base/zsh/prompt_pure_setup @@ -137,23 +137,33 @@ prompt_pure_preprompt_render() { preprompt+="%F{$PROMPT_HOST_COLOR}%K{18}%f" fi preprompt+="%K{18} " + # directory, colored by vim status preprompt+="%B%F{$STATUS_COLOR}%c%f%b" preprompt+="%K{18}" + # git info preprompt+="%F{$git_color}${vcs_info_msg_0_}${prompt_pure_git_dirty}%f" preprompt+="%K{18}" + # git pull/push arrows preprompt+="%F{cyan}${prompt_pure_git_arrows}%f" preprompt+="%K{18}" + # username and machine if applicable #preprompt+=$prompt_pure_username + # execution time #preprompt+="%F{20}${prompt_pure_cmd_exec_time}%f" + + # suspended jobs + preprompt+=" %F{8}" + for i in `seq "$(jobs | wc -l)"`; do preprompt+=""; done + # end with symbol, colored by previous command exit code # local symbol_color="%(?.${PURE_PROMPT_SYMBOL_COLOR:-magenta}.red)" # preprompt+=" %F{$symbol_color}${PURE_PROMPT_SYMBOL:-❯}%f" - preprompt+=" %F{18}%(?.%k.%K{1}%F{1}%k)%f" + preprompt+="%F{18}%(?.%k.%K{1}%F{1}%k)%f" # preprompt+=" " |