Fixup path init
This commit is contained in:
parent
c948a78cb9
commit
181f1a8bdd
1 changed files with 29 additions and 20 deletions
|
|
@ -1,23 +1,32 @@
|
||||||
if status --is-login
|
if test -d /opt/local/bin
|
||||||
set PATH /opt/local/bin /opt/local/sbin $PATH ~/bin
|
set PATH /opt/local/bin $PATH
|
||||||
if test -d ~/.cargo/bin
|
end
|
||||||
|
if test -d /opt/local/sbin
|
||||||
|
set PATH /opt/local/sbin $PATH
|
||||||
|
end
|
||||||
|
if test -d ~/bin
|
||||||
|
set PATH ~/bin $PATH
|
||||||
|
end
|
||||||
|
if test -d ~/.cargo/bin
|
||||||
set PATH ~/.cargo/bin $PATH
|
set PATH ~/.cargo/bin $PATH
|
||||||
end
|
end
|
||||||
if test -d ~/devtools/buck/bin
|
if test -d ~/devtools/buck/bin
|
||||||
set PATH $PATH ~/devtools/buck/bin
|
set PATH $PATH ~/devtools/buck/bin
|
||||||
end
|
end
|
||||||
if test -d /snap/bin
|
if test -d /snap/bin
|
||||||
set PATH $PATH /snap/bin
|
set PATH $PATH /snap/bin
|
||||||
end
|
end
|
||||||
if test -d ~/.local/bin
|
if test -d ~/go/bin
|
||||||
|
set PATH $PATH ~/go/bin
|
||||||
|
end
|
||||||
|
if test -d ~/.local/bin
|
||||||
set PATH $PATH ~/.local/bin
|
set PATH $PATH ~/.local/bin
|
||||||
end
|
end
|
||||||
if test -d /nix
|
if test -d /nix
|
||||||
set PATH $PATH /nix/var/nix/profiles/default/bin
|
set PATH $PATH /nix/var/nix/profiles/default/bin
|
||||||
end
|
end
|
||||||
if test -d $HOME/Library/Python/3.10/bin
|
if test -d $HOME/Library/Python/3.10/bin
|
||||||
set PATH $PATH $HOME/Library/Python/3.10/bin
|
set PATH $PATH $HOME/Library/Python/3.10/bin
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
if [ -n "$INSIDE_EMACS" ]
|
if [ -n "$INSIDE_EMACS" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue