Setting the custom bin directory first in the PATH.

This commit is contained in:
Rodolphe Breard 2015-09-13 17:43:29 +02:00
parent dbd988064e
commit c924913c11
3 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ export PAGER='less'
export USER_NICKNAME="Rodolphe Breard" export USER_NICKNAME="Rodolphe Breard"
export DEBEMAIL="packages+deb@what.tf" export DEBEMAIL="packages+deb@what.tf"
export DEBFULLNAME="$USER_NICKNAME" export DEBFULLNAME="$USER_NICKNAME"
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$PATH:$HOME/bin" [[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
# Colors # Colors
[ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b) [ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b)

View file

@ -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") hash gpg-agent 2>/dev/null && eval $(gpg-agent --daemon --enable-ssh-support --write-env-file "${HOME}/.gpg-agent-info")
DEFAULT_SESSION=awesome DEFAULT_SESSION=awesome
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$PATH:$HOME/bin" [[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
case "$1" in case "$1" in
awesome) awesome)

2
.zshrc
View file

@ -11,7 +11,7 @@ export PAGER='less'
export USER_NICKNAME="Rodolphe Breard" export USER_NICKNAME="Rodolphe Breard"
export DEBEMAIL="packages+deb@what.tf" export DEBEMAIL="packages+deb@what.tf"
export DEBFULLNAME="$USER_NICKNAME" export DEBFULLNAME="$USER_NICKNAME"
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$PATH:$HOME/bin" [[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
# Colors # Colors
[ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b) [ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b)