Skip to content

Commit

Permalink
Merge pull request #3657 from martinisoft/bugfix/fish_shell_osx
Browse files Browse the repository at this point in the history
Don't trap with a non-existent command
  • Loading branch information
mpapis committed Mar 30, 2016
2 parents b1f5ecf + 2c79c21 commit 462eff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/functions/environment
Expand Up @@ -278,7 +278,7 @@ __rvm_teardown()

if
[[ "${_system_name}" == "OSX" ]] && __rvm_version_compare "${_system_version}" -ge 10.11 &&
[[ -n "$BASH" ]] && [[ ! -f "${HOME}/.bash_sessions_disable" ]]
[[ -n "$BASH" ]] && [[ ! -f "${HOME}/.bash_sessions_disable" ]] && is_a_function shell_session_update
then trap 'shell_session_update' EXIT
fi

Expand Down

0 comments on commit 462eff0

Please sign in to comment.