fix(fish) safer way to add path without duplicates

This commit is contained in:
Bruno Carlin 2022-03-30 10:28:15 +02:00
parent 8faeef3a94
commit 4d87e85bec

View file

@ -1,7 +1,9 @@
## PATH ## PATH
set -x PATH $PATH ~/.local/bin ~/.go/bin ~/.npm/bin ~/.local/share/gem/ruby/3.0.0/bin fish_add_path ~/.local/bin
set -x EDITOR nvim fish_add_path ~/.go/bin
fish_add_path ~/.npm/bin
fish_add_path ~/.local/share/gem/ruby/3.0.0/bin
## SSH init ## SSH init
set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket set -x SSH_AUTH_SOCK $XDG_RUNTIME_DIR/ssh-agent.socket
@ -19,6 +21,6 @@ if status is-login
end end
end end
## Go utils
set -x GOPATH ~/.go set -x GOPATH ~/.go
set -x EDITOR nvim