Merge branch 'bash-keep-status' into develop

This commit is contained in:
ZyX 2014-03-13 20:37:12 +04:00
commit 076134a741
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ _powerline_prompt() {
return $last_exit_code
}
[[ "$PROMPT_COMMAND" != "${PROMPT_COMMAND/_powerline_prompt/}" ]] ||
export PROMPT_COMMAND="${PROMPT_COMMAND}"$'\n'"_powerline_prompt"
test "x$PROMPT_COMMAND" != "x${PROMPT_COMMAND%_powerline_prompt*}" ||
export PROMPT_COMMAND=$'_powerline_prompt\n'"${PROMPT_COMMAND}"
_powerline_init_tmux_support