From c924913c11057eea2b25314eca09da3974f463a6 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sun, 13 Sep 2015 17:43:29 +0200 Subject: [PATCH] Setting the custom bin directory first in the PATH. --- .bashrc | 2 +- .xinitrc | 2 +- .zshrc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 7a2fbc6..9ba77fe 100644 --- a/.bashrc +++ b/.bashrc @@ -14,7 +14,7 @@ export PAGER='less' export USER_NICKNAME="Rodolphe Breard" export DEBEMAIL="packages+deb@what.tf" export DEBFULLNAME="$USER_NICKNAME" -[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$PATH:$HOME/bin" +[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH" # Colors [ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b) diff --git a/.xinitrc b/.xinitrc index 5a28a69..98c5582 100755 --- a/.xinitrc +++ b/.xinitrc @@ -7,7 +7,7 @@ hash xscreensaver 2>/dev/null && xscreensaver -no-splash & hash gpg-agent 2>/dev/null && eval $(gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info") DEFAULT_SESSION=awesome -[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$PATH:$HOME/bin" +[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH" case "$1" in awesome) diff --git a/.zshrc b/.zshrc index d5ea96f..649e349 100644 --- a/.zshrc +++ b/.zshrc @@ -11,7 +11,7 @@ export PAGER='less' export USER_NICKNAME="Rodolphe Breard" export DEBEMAIL="packages+deb@what.tf" export DEBFULLNAME="$USER_NICKNAME" -[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$PATH:$HOME/bin" +[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH" # Colors [ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b)