Fixup path init

This commit is contained in:
John Doty 2022-07-14 04:36:46 +00:00
parent c948a78cb9
commit 181f1a8bdd

View file

@ -1,5 +1,12 @@
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
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 if test -d ~/.cargo/bin
set PATH ~/.cargo/bin $PATH set PATH ~/.cargo/bin $PATH
end end
@ -9,6 +16,9 @@ if status --is-login
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 ~/go/bin
set PATH $PATH ~/go/bin
end
if test -d ~/.local/bin if test -d ~/.local/bin
set PATH $PATH ~/.local/bin set PATH $PATH ~/.local/bin
end end
@ -18,7 +28,6 @@ if status --is-login
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" ]
# This is here to make emacs and ansi-term work properly; I'm not *quite* # This is here to make emacs and ansi-term work properly; I'm not *quite*