Simplify zsh config file structure

This commit is contained in:
Marty Oehme 2019-02-24 12:34:40 +01:00
parent 7bdf7ab1cd
commit 71c5944bf8
19 changed files with 31 additions and 21 deletions

View file

@ -0,0 +1,13 @@
# Clone tmux plugin manager if not existing
if [[ -z "$TPM_PARENT_DIR" ]]; then
TPM_PARENT_DIR=$HOME
fi
if [[ ! -f $TPM_PARENT_DIR/.tmux/plugins/tpm/tpm ]]; then
if [[ ! -d "$TPM_PARENT_DIR" ]]; then
mkdir -p "$TPM_PARENT_DIR"
fi
pushd $TPM_PARENT_DIR
git clone https://github.com/tmux-plugins/tpm ./.tmux/plugins/tpm
popd
fi
unset TPM_PARENT_DIR