function ghq set cmd $argv[1] switch $cmd case "get" command git-get $argv[2..] case "status" "st" command git-get list $argv[2..] case "ls" command ghq list $argv[2..] case '*' command ghq $argv end end