Move PWD on prompt to right side

This commit is contained in:
Henrik Lissner 2015-01-09 21:50:13 -05:00
parent 00f21e92c7
commit ffb79ffa3a

View file

@ -71,8 +71,11 @@ function prompt_my_setup {
zstyle ':prezto:module:git:info:keys' format 'prompt' '' 'rprompt' '%b%D' zstyle ':prezto:module:git:info:keys' format 'prompt' '' 'rprompt' '%b%D'
# Define prompts. # Define prompts.
PROMPT='%F{cyan}${__prompt_my_pwd}%f${git_info:+${(e)git_info[prompt]}}%(!. %B%F{red}#%f%b.)${editor_info[keymap]} ' PROMPT='
RPROMPT='${editor_info[overwrite]}${VIM:+" %B%F{green}V%f%b"}${git_info[rprompt]}${_prompt_my_host}%(?:: %F{red}⏎%f)' ${editor_info[keymap]} '
RPROMPT='${editor_info[overwrite]}%F{cyan}${__prompt_my_pwd}${VIM:+" %B%F{green}V%f%b"}${_prompt_my_host}%(?:: %F{red}⏎%f)'
# PROMPT='%f${git_info:+${(e)git_info[prompt]}}%(!. %B%F{red}#%f%b.)${editor_info[keymap]} '
# RPROMPT='${editor_info[overwrite]}${VIM:+" %B%F{green}V%f%b"}${git_info[rprompt]}${_prompt_my_host}%(?:: %F{red}⏎%f)'
_prompt_git_chpwd _prompt_git_chpwd
} }