Merge pull request #642 from cs-networks/master
Fix issue with last exit status getting swallowed.
This commit is contained in:
@@ -5,7 +5,7 @@ about-plugin 'osx-specific functions'
|
||||
if [ $(uname) = "Darwin" ]; then
|
||||
if type update_terminal_cwd > /dev/null 2>&1 ; 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
|
||||
|
||||
Reference in New Issue
Block a user