[Fish] Change the order of the $PATH variable

Custom and local executables will now have the priority over system
executables.
For instance, an `ls' executable located in `$HOME/.local/bin/ls' will
have the priority over `/bin/ls'
This commit is contained in:
Lucien Cartier-Tilet 2020-09-02 13:43:03 +02:00
parent 69dc8c7d7c
commit 2187348425
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -223,7 +223,7 @@
#+BEGIN_SRC fish :noweb yes #+BEGIN_SRC fish :noweb yes
for p in <<generate-extra-paths()>> for p in <<generate-extra-paths()>>
if status is-login if status is-login
contains $p $PATH || set PATH $PATH $p contains $p $PATH || set PATH $p $PATH
end end
end end
#+END_SRC #+END_SRC