Merge pull request #36 from dotlambda/master

Source $XDG_CONFIG_HOME/cdm/cdmrc as third option
pull/33/merge
Ghost1227 8 years ago committed by GitHub
commit 719b4a5e91

@ -14,6 +14,7 @@ existing one:
[RCFILE specified on command line]
$HOME/.cdmrc
$XDG_CONFIG_HOME/cdm/cdmrc
/etc/cdmrc
To autostart cdm when you log in your account, copy the content of

@ -65,6 +65,8 @@ if [[ -n "$1" ]]; then
fi
elif [[ -f "$HOME/.cdmrc" ]]; then
source "$HOME/.cdmrc"
elif [[ -f "$XDG_CONFIG_HOME/cdm/cdmrc" ]]; then
source "$XDG_CONFIG_HOME/cdm/cdmrc"
elif [[ -f /etc/cdmrc ]]; then
source /etc/cdmrc
fi

Loading…
Cancel
Save