Merge pull request #1 from cs-networks/osx_terminal_exit_code_fix

osx_terminal_exit_code_fix
pull/642/head
cs-networks 2016-01-07 20:42:49 +01:00
commit 15def450e3
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ about-plugin 'osx-specific functions'
if [ $(uname) = "Darwin" ]; then if [ $(uname) = "Darwin" ]; then
if type update_terminal_cwd > /dev/null 2>&1 ; then if type update_terminal_cwd > /dev/null 2>&1 ; then
if ! [[ $PROMPT_COMMAND =~ (^|;)update_terminal_cwd($|;) ]] ; then if ! [[ $PROMPT_COMMAND =~ (^|;)update_terminal_cwd($|;) ]] ; then
export PROMPT_COMMAND="update_terminal_cwd;$PROMPT_COMMAND" export PROMPT_COMMAND="$PROMPT_COMMAND;update_terminal_cwd"
fi fi
fi fi
fi fi