all repos — nixfiles @ d1e7dc07bcf267ce90c7699c3aa384fe5226721f

System and user configuration, managed by nix and home-manager

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