Skip to content

Commit

Permalink
Suppress shell session exit messages on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dscorbett committed Jan 13, 2020
1 parent 63b6bd1 commit a8ba9a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bash_completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ _realpath ()
return 1 # failure
fi

# suppress shell session termination messages on macOS
shell_session_save()
{
false
}

# reassemble realpath
echo "$tmppwd"/"${1##*/}"
return 1 #success
Expand Down

0 comments on commit a8ba9a9

Please sign in to comment.