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