diff options
Diffstat (limited to 'fish/.config/fish/functions/g.fish')
-rw-r--r-- | fish/.config/fish/functions/g.fish | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/fish/.config/fish/functions/g.fish b/fish/.config/fish/functions/g.fish index de04e81..05d6434 100644 --- a/fish/.config/fish/functions/g.fish +++ b/fish/.config/fish/functions/g.fish @@ -1,7 +1,8 @@ function g - if count $argv > /dev/null -git $argv -else -git status -end + if count $argv > /dev/null + git $argv + else + git status + end end + |