gvp
gvp copied to clipboard
gvp version and exit?
After I installed gvp and do source gvp
, I tried to gvp version
but my console exited. I found the following
(https://github.com/pote/gvp/blob/master/bin/gvp#L122)
case "$1" in
"version")
echo ">> gvp v0.3.0" &&
exit 0
;;
I am curious if gvp
really want user leave terminal after gvp version
Ah, it seems that calling exit
after gvp has been sourced causes the terminal to exit. I wonder if there is a way to stop execution after a certain point without exiting?