Add space to rprompt

According to tcsh documentation `%{%}` must not be the last segment.

Note: this means that right prompt has *two* characters between its end and 
terminal emulator border.
This commit is contained in:
ZyX 2014-01-26 23:39:25 +04:00
parent 3ecbeb8c5b
commit a2e11ef94f
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ if ! $?POWERLINE_COMMAND then
endif
alias _powerline_tmux_set_pwd 'if $?TMUX tmux setenv -g TMUX_PWD_`tmux display -p "#D" | tr -d %` $PWD:q ; if $?TMUX tmux refresh -S'
alias _powerline_set_prompt 'set prompt="`$POWERLINE_COMMAND shell left -r zsh_prompt --last_exit_code=$?`"'
alias _powerline_set_rprompt 'set rprompt="`$POWERLINE_COMMAND shell right -r zsh_prompt --last_exit_code=$?`"'
alias _powerline_set_rprompt 'set rprompt="`$POWERLINE_COMMAND shell right -r zsh_prompt --last_exit_code=$?` "'
alias cwdcmd "`alias cwdcmd` ; _powerline_tmux_set_pwd"
alias precmd "`alias precmd` ; _powerline_set_prompt ; _powerline_set_rprompt"