diff options
author | June McEnroe <programble@gmail.com> | 2017-09-27 22:12:00 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2017-09-27 22:12:00 -0400 |
commit | 94bbecc4e74950d83841d8d7db73666bf6ca54f4 (patch) | |
tree | 28d1bc644c6906b39155957ef03a7c80e7d41f8b /home | |
parent | Update Linux console map to Tarmak 4 (diff) | |
download | src-94bbecc4e74950d83841d8d7db73666bf6ca54f4.tar.gz src-94bbecc4e74950d83841d8d7db73666bf6ca54f4.zip |
Always newline before prompt
Diffstat (limited to '')
-rw-r--r-- | home/.zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.zshrc b/home/.zshrc index c4346a93..7de8abd1 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -58,12 +58,12 @@ _prompt_git() { esac } [ -n "$SSH_CLIENT" ] && _prompt_ssh='%F{magenta}' -PROMPT="%(?.%F{white}$_prompt_ssh.%F{red})%#%f " +PROMPT=" +%(?.%F{white}$_prompt_ssh.%F{red})%#%f " RPROMPT='%F{white}%50<..<%~$(_prompt_git)%f' -_n() { _n() { echo } } _title() { print -Pn "\e]0;$1\a" } _title_precmd() { _title '%1~' } _title_preexec() { psvar=("$1") _title '%1~: %1v' } -precmd_functions=(_n _title_precmd) +precmd_functions=(_title_precmd) preexec_functions=(_title_preexec) |