Closed c3mdigital closed 10 years ago
@c3mdigital oh, this would be if the vassh
function is being source
ed into your .bashrc
, right? If, instead, the vassh
script is invoked, then the exit
would not cause the shell session to terminate, since the exit
would be happening in a subshell. Not sure why exit 1
and exit 0
don't both kill the top shell.
@westonruter If I use the brew version exit 1 doesn't terminate the shell session. If I run it sourced from my .bash_profile then exit 1 also makes the session terminate. If I run vassh vassh -h
Then it works correctly.