Move PWD on prompt to right side
This commit is contained in:
parent
00f21e92c7
commit
ffb79ffa3a
|
@ -71,8 +71,11 @@ function prompt_my_setup {
|
|||
zstyle ':prezto:module:git:info:keys' format 'prompt' '' 'rprompt' '%b%D'
|
||||
|
||||
# Define prompts.
|
||||
PROMPT='%F{cyan}${__prompt_my_pwd}%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='
|
||||
${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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue