Set the custom bin path within a dedicated script
The custom bin path was set in multiple places. Each time, the line was identical and supposed the use of a /bin/sh emulation with a common extension. To reduce duplicated code and support other platforms, the custom bin path is now set in a dedicated script that can be source'd.
This commit is contained in:
parent
e24502769b
commit
01472b6d05
5 changed files with 12 additions and 5 deletions
4
.bashrc
4
.bashrc
|
@ -14,7 +14,9 @@ export PAGER='less'
|
|||
export USER_NICKNAME="Rodolphe Breard"
|
||||
export DEBEMAIL="packages+deb@what.tf"
|
||||
export DEBFULLNAME="$USER_NICKNAME"
|
||||
[[ ":$PATH:" == *":$HOME/bin:"* ]] || export PATH="$HOME/bin:$PATH"
|
||||
|
||||
# Path
|
||||
[ -f ~/.setpath.sh ] && . ~/.setpath.sh
|
||||
|
||||
# Colors
|
||||
[ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue