about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-12-23T09·45+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-06T15·25+0000
commit7bb420190563d2cb476f86423e851c7d3cd3677e (patch)
treefd176431c76ff8e4574584cc0cc5ee6e2456448a
parentf089cf9394074e411b4312e79f4860ce71f77120 (diff)
Support more fish abbr's for git
I'm sure that there is a fish package that supports git aliases or
abbreviations. This time, I'm preferring to write my own.

Side note: The more that I use fish's abbreviations, the less that I like them
-- at least for the way in which I'm using them.
-rw-r--r--configs/shared/.config/fish/config.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/shared/.config/fish/config.fish b/configs/shared/.config/fish/config.fish
index 6c9d512b3a6f..4e5c5f25440a 100644
--- a/configs/shared/.config/fish/config.fish
+++ b/configs/shared/.config/fish/config.fish
@@ -179,6 +179,8 @@ abbr --add g     hub
 abbr --add git   hub
 abbr --add ga    git add
 abbr --add gc    git commit
+abbr --add gco   git checkout
+abbr --add gd    git diff
 abbr --add gp    git push
 abbr --add grbi  git rebase --interactive
 abbr --add grba  git rebase --abort