···11-function g --description 'Shortcut for Git. Less typing, more work' --wraps git
22- if which hub ^/dev/null >/dev/null
33- hub $argv
44- else
55- git $argv
66- end
11+function g --description 'Less typing more work!' --wraps git
22+ git $argv
73end
+7
fish/functions/git.fish
···11+function git --description 'Git wrapper that run hub fi avaliable'
22+ if which hub ^/dev/null >/dev/null
33+ hub $argv
44+ else
55+ command git $argv
66+ end
77+end