From 633eab5ec8fa8688a93e7f253e836d36e7d51546 Mon Sep 17 00:00:00 2001 From: Sloane Perrault Date: Wed, 5 Apr 2023 07:56:08 -0400 Subject: [PATCH] move fish abbreviations to config.fish relying on fish_variables meant too many conflicts --- .config/fish/config.fish | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index de367d7..4f77b78 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -13,3 +13,19 @@ if status is-interactive tmux attach-session -d -t default end end + +abbr -Ua g git +abbr -Ua gp git push --force-with-lease +abbr -Ua gf git fetch +abbr -Ua gpl git pull +abbr -Ua gplr git pull --rebase +abbr -Ua gst git status +abbr -Ua gcb git checkout -b +abbr -Ua gco git checkout +abbr -Ua ga git add +abbr -Ua gc git commit +abbr -Ua grr git rebase --continue +abbr -Ua gr git rebase + + +abbr -Ua fug nvim +Git +only