Fixup path init
This commit is contained in:
parent
c948a78cb9
commit
181f1a8bdd
1 changed files with 29 additions and 20 deletions
|
|
@ -1,5 +1,12 @@
|
|||
if status --is-login
|
||||
set PATH /opt/local/bin /opt/local/sbin $PATH ~/bin
|
||||
if test -d /opt/local/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
|
||||
set PATH ~/.cargo/bin $PATH
|
||||
end
|
||||
|
|
@ -9,6 +16,9 @@ if status --is-login
|
|||
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
|
||||
|
|
@ -18,7 +28,6 @@ if status --is-login
|
|||
if test -d $HOME/Library/Python/3.10/bin
|
||||
set PATH $PATH $HOME/Library/Python/3.10/bin
|
||||
end
|
||||
end
|
||||
|
||||
if [ -n "$INSIDE_EMACS" ]
|
||||
# This is here to make emacs and ansi-term work properly; I'm not *quite*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue