Merge pull request #745 from cyberdork33/patch-1

Update powerline.sh
This commit is contained in:
ZyX-I 2014-01-10 13:55:55 -08:00
commit 0d64b5ebd2
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ _powerline_prompt() {
local last_exit_code=$?
[[ -z "$POWERLINE_OLD_PROMPT_COMMAND" ]] ||
eval $POWERLINE_OLD_PROMPT_COMMAND
PS1="$($POWERLINE_COMMAND shell left -r bash_prompt --last_exit_code=$last_exit_code --jobnum="$(jobs|wc-l)")"
PS1="$($POWERLINE_COMMAND shell left -r bash_prompt --last_exit_code=$last_exit_code --jobnum="$(jobs|wc -l)")"
_powerline_tmux_set_pwd
return $last_exit_code
}