From 7c54fa47d69326be0dad37374ad88fe6f5f59872 Mon Sep 17 00:00:00 2001 From: aria Date: Sun, 8 Jun 2025 00:30:23 +1000 Subject: [PATCH] feat(fish): update config and add git pull alias --- fish/config.fish | 3 +++ fish/functions/gp.fish | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 fish/functions/gp.fish diff --git a/fish/config.fish b/fish/config.fish index 35fda49..6529fc7 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -18,3 +18,6 @@ set -gx VISUAL ms-edit fish_add_path /home/buymymojo/bin fish_add_path /home/buymymojo/.cargo/bin + +fish_add_path $(go env GOBIN) +fish_add_path $(go env GOPATH)/bin \ No newline at end of file diff --git a/fish/functions/gp.fish b/fish/functions/gp.fish new file mode 100644 index 0000000..ad6f7b4 --- /dev/null +++ b/fish/functions/gp.fish @@ -0,0 +1,4 @@ +function gp --wraps='git pull --rebase' --description 'alias gp=git pull --rebase' + git pull --rebase $argv + +end