Fixed error in prompt

This commit is contained in:
2019-09-14 18:08:28 +02:00
parent b86846433e
commit f34c27cc5c

View File

@@ -70,8 +70,7 @@ prompt_pure_precmd() {
# git info
vcs_info
#local prompt_pure_preprompt='\n%F{blue}\u250C\u2500[%~]%F{242}$vcs_info_msg_0_`prompt_pure_git_dirty` $prompt_pure_username%f %F{yellow}`prompt_pure_cmd_exec_time`%f'
local prompt_pure_preprompt='\n%F{blue}\u250C\u2500[%~]%F{242}\%(!. %n.)$vcs_info_msg_0_`prompt_pure_git_dirty` $prompt_pure_username%f %F{yellow}`prompt_pure_cmd_exec_time`%f'
local prompt_pure_preprompt='\n%F{blue}\u250C\u2500[%~]%F{242}$vcs_info_msg_0_`prompt_pure_git_dirty` $prompt_pure_username%f %F{yellow}`prompt_pure_cmd_exec_time`%f'
print -P $prompt_pure_preprompt
# check async if there is anything to pull