fix XDG_CONFIG_HOME naming

This commit is contained in:
Marty Oehme 2019-03-12 15:47:07 +01:00
parent 283f86a6ba
commit 4eb00e6915
4 changed files with 6 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# Clone tmux plugin manager if not existing
if [[ -z "$TPM_PARENT_DIR" ]]; then
TPM_PARENT_DIR=${XDG_CONFIG_DIR:-$HOME/.config}/tmux
TPM_PARENT_DIR=${XDG_CONFIG_HOME:-$HOME/.config}/tmux
fi
if [[ ! -f $TPM_PARENT_DIR/plugins/tpm/tpm ]]; then