user/settings/fish/functions/ghq.fish (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13
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