aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-08-15 23:51:14 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-08-15 23:51:14 -0300
commitc282ebdf98c0c623d5c915ea92154b4f30f0cc26 (patch)
tree06101aaa7a3a613ec33ec6a9af068e021a33f654
parent0866e3dbf2fc8c45e29998375440de95be233833 (diff)
downloadprofile-c282ebdf98c0c623d5c915ea92154b4f30f0cc26.tar.gz
profile-c282ebdf98c0c623d5c915ea92154b4f30f0cc26.tar.bz2
PATH precedence
-rw-r--r--profile.dot.link10
1 files changed, 5 insertions, 5 deletions
diff --git a/profile.dot.link b/profile.dot.link
index ca86bdc..873c3e1 100644
--- a/profile.dot.link
+++ b/profile.dot.link
@@ -72,21 +72,21 @@ fi
# Add composer into PATH
if [ -d "$HOME/.composer/vendor/bin" ]; then
- PATH="$HOME/.composer/vendor/bin:$PATH"
+ PATH="$PATH:$HOME/.composer/vendor/bin"
fi
# Add Go into PATH
if [ -e "/usr/lib/go" ]; then
export GOROOT="/usr/lib/go"
- PATH=$PATH:$GOROOT/bin
+ PATH="$PATH:$GOROOT/bin"
fi
# Add local Go into PATH
if [ -e "$HOME/apps/go" ]; then
export GOPATH="$HOME/apps/go"
- PATH=$PATH:$GOPATH/bin
+ PATH="$PATH:$GOPATH/bin"
fi
# Add local NixOS into PATH
@@ -96,14 +96,14 @@ fi
# Add XBPS into PATH
if [ -d "$HOME/.xbps/usr/bin" ]; then
- PATH="$HOME/.xbps/usr/bin:$PATH"
+ PATH="$PATH:$HOME/.xbps/usr/bin"
fi
# Add Node Version Manager into PATH
# https://www.npmjs.com/package/nhttps://www.npmjs.com/package/n
export N_PREFIX="$HOME/.n"
if [ -d "$HOME/.n/bin" ]; then
- PATH="$HOME/.n/bin:$PATH"
+ PATH="$PATH:$HOME/.n/bin"
fi
# NVM