Rationalize the use of custom config files
This commit is contained in:
parent
5bc0b45cdc
commit
2425fdca43
9 changed files with 9 additions and 11 deletions
4
.bashrc
4
.bashrc
|
@ -11,12 +11,14 @@ export HISTCONTROL=ignoredups
|
|||
export CLICOLOR=1
|
||||
export EDITOR='vim'
|
||||
export PAGER='less'
|
||||
export MY_CONFIG="$HOME/.config/rodolphe"
|
||||
export USER_NICKNAME="Rodolphe Bréard"
|
||||
export DEBEMAIL="packages+deb@what.tf"
|
||||
export DEBFULLNAME="$USER_NICKNAME"
|
||||
|
||||
# Path
|
||||
[ -f ~/.setpath.sh ] && . ~/.setpath.sh
|
||||
[ -f "$MY_CONFIG/.setpath.sh" ] && . "$MY_CONFIG/.setpath.sh"
|
||||
[ -f "$MY_CONFIG/.xdg_set_env.sh" ] && . "$MY_CONFIG/.xdg_set_env.sh"
|
||||
|
||||
# Colors
|
||||
[ "$CLICOLOR" -ne 0 ] && hash dircolors 2>/dev/null && eval $(dircolors -b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue