fix(fish) safer way to add path without duplicates
This commit is contained in:
parent
8faeef3a94
commit
4d87e85bec
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue