Skip to content

Commit a8ba9a9

Browse files
committed
Suppress shell session exit messages on macOS
1 parent 63b6bd1 commit a8ba9a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bash_completion.bash

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ _realpath ()
8282
return 1 # failure
8383
fi
8484

85+
# suppress shell session termination messages on macOS
86+
shell_session_save()
87+
{
88+
false
89+
}
90+
8591
# reassemble realpath
8692
echo "$tmppwd"/"${1##*/}"
8793
return 1 #success

0 commit comments

Comments
 (0)