Remove newline on prompt

This commit is contained in:
Henrik Lissner 2014-08-31 02:50:35 -04:00
parent 1ef01b1055
commit 88e195312a

View file

@ -72,8 +72,7 @@ function prompt_my_setup {
'rprompt' '%A%B%S%a%d%m%r%U%u' 'rprompt' '%A%B%S%a%d%m%r%U%u'
# Define prompts. # Define prompts.
PROMPT=' PROMPT='%F{cyan}${_prompt_my_pwd}%f${git_info:+${(e)git_info[prompt]}}%(!. %B%F{red}#%f%b.)${editor_info[keymap]} '
%F{cyan}${_prompt_my_pwd}%f${git_info:+${(e)git_info[prompt]}}%(!. %B%F{red}#%f%b.)${editor_info[keymap]} '
RPROMPT='${editor_info[overwrite]}%(?:: %F{red}⏎%f)${VIM:+" %B%F{green}V%f%b"}${git_info[rprompt]}${_prompt_my_host}' RPROMPT='${editor_info[overwrite]}%(?:: %F{red}⏎%f)${VIM:+" %B%F{green}V%f%b"}${git_info[rprompt]}${_prompt_my_host}'
# SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? ' # SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
} }