feat(fish): update config and add git pull alias
This commit is contained in:
parent
b359fbd8d6
commit
7c54fa47d6
2 changed files with 7 additions and 0 deletions
|
@ -18,3 +18,6 @@ set -gx VISUAL ms-edit
|
||||||
|
|
||||||
fish_add_path /home/buymymojo/bin
|
fish_add_path /home/buymymojo/bin
|
||||||
fish_add_path /home/buymymojo/.cargo/bin
|
fish_add_path /home/buymymojo/.cargo/bin
|
||||||
|
|
||||||
|
fish_add_path $(go env GOBIN)
|
||||||
|
fish_add_path $(go env GOPATH)/bin
|
4
fish/functions/gp.fish
Normal file
4
fish/functions/gp.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function gp --wraps='git pull --rebase' --description 'alias gp=git pull --rebase'
|
||||||
|
git pull --rebase $argv
|
||||||
|
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue