diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-08-15 23:54:12 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-08-15 23:54:12 -0300 |
commit | e6be12b75301162e5afd107cc3e9744c160979e2 (patch) | |
tree | 780c04b56e64e427787c3f5420143c72c8237e4e | |
parent | c282ebdf98c0c623d5c915ea92154b4f30f0cc26 (diff) | |
download | profile-e6be12b75301162e5afd107cc3e9744c160979e2.tar.gz profile-e6be12b75301162e5afd107cc3e9744c160979e2.tar.bz2 |
PATH precedence (2)
-rw-r--r-- | profile.dot.link | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/profile.dot.link b/profile.dot.link index 873c3e1..2b502f0 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="$PATH:$HOME/.composer/vendor/bin" + PATH="$HOME/.composer/vendor/bin:$PATH" fi # Add Go into PATH if [ -e "/usr/lib/go" ]; then export GOROOT="/usr/lib/go" - PATH="$PATH:$GOROOT/bin" + PATH="$GOROOT/bin:$PATH" fi # Add local Go into PATH if [ -e "$HOME/apps/go" ]; then export GOPATH="$HOME/apps/go" - PATH="$PATH:$GOPATH/bin" + PATH="$GOPATH/bin:$PATH" fi # Add local NixOS into PATH @@ -96,14 +96,14 @@ fi # Add XBPS into PATH if [ -d "$HOME/.xbps/usr/bin" ]; then - PATH="$PATH:$HOME/.xbps/usr/bin" + PATH="$HOME/.xbps/usr/bin:$PATH" 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="$PATH:$HOME/.n/bin" + PATH="$HOME/.n/bin:$PATH" fi # NVM |