Rationalize the use of custom config files

This commit is contained in:
Rodolphe Bréard 2021-09-12 12:24:06 +02:00
parent 5bc0b45cdc
commit 2425fdca43
9 changed files with 9 additions and 11 deletions

View file

@ -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)