mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 16:24:57 +02:00
commit
0d64b5ebd2
@ -33,7 +33,7 @@ _powerline_prompt() {
|
|||||||
local last_exit_code=$?
|
local last_exit_code=$?
|
||||||
[[ -z "$POWERLINE_OLD_PROMPT_COMMAND" ]] ||
|
[[ -z "$POWERLINE_OLD_PROMPT_COMMAND" ]] ||
|
||||||
eval $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
|
_powerline_tmux_set_pwd
|
||||||
return $last_exit_code
|
return $last_exit_code
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user