Better path management
This commit is contained in:
parent
284dc938a7
commit
cfe168715b
1 changed files with 13 additions and 36 deletions
|
|
@ -1,39 +1,16 @@
|
||||||
if test -d /opt/local/bin
|
fish_add_path ~/.local/bin \
|
||||||
set PATH /opt/local/bin $PATH
|
~/.cargo/bin \
|
||||||
end
|
~/bin \
|
||||||
if test -d /opt/local/sbin
|
/opt/local/sbin \
|
||||||
set PATH /opt/local/sbin $PATH
|
/opt/local/bin
|
||||||
end
|
|
||||||
if test -d ~/bin
|
fish_add_path --append \
|
||||||
set PATH ~/bin $PATH
|
~/devtools/buck/bin \
|
||||||
end
|
/snap/bin \
|
||||||
if test -d ~/.cargo/bin
|
~/go/bin \
|
||||||
set PATH ~/.cargo/bin $PATH
|
/nix/var/nix/profiles/default/bin \
|
||||||
end
|
~/Library/Python/3.10/bin \
|
||||||
if test -d ~/.local/bin
|
/opt/awscli/bin
|
||||||
set PATH ~/.local/bin $PATH
|
|
||||||
end
|
|
||||||
if test -d ~/devtools/buck/bin
|
|
||||||
set PATH $PATH ~/devtools/buck/bin
|
|
||||||
end
|
|
||||||
if test -d /snap/bin
|
|
||||||
set PATH $PATH /snap/bin
|
|
||||||
end
|
|
||||||
if test -d ~/go/bin
|
|
||||||
set PATH $PATH ~/go/bin
|
|
||||||
end
|
|
||||||
if test -d ~/.local/bin
|
|
||||||
set PATH $PATH ~/.local/bin
|
|
||||||
end
|
|
||||||
if test -d /nix
|
|
||||||
set PATH $PATH /nix/var/nix/profiles/default/bin
|
|
||||||
end
|
|
||||||
if test -d $HOME/Library/Python/3.10/bin
|
|
||||||
set PATH $PATH $HOME/Library/Python/3.10/bin
|
|
||||||
end
|
|
||||||
if test -d /opt/awscli/bin
|
|
||||||
set PATH $PATH /opt/awscli/bin
|
|
||||||
end
|
|
||||||
|
|
||||||
if test -n "$CODER_WORKSPACE_ID$CODER"
|
if test -n "$CODER_WORKSPACE_ID$CODER"
|
||||||
if test -z "$BROWSER"
|
if test -z "$BROWSER"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue