gvp icon indicating copy to clipboard operation
gvp copied to clipboard

gvp version and exit?

Open samuelololol opened this issue 9 years ago • 1 comments

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

samuelololol avatar Oct 07 '15 04:10 samuelololol

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?

langston-barrett avatar Oct 07 '15 17:10 langston-barrett