Use local variable for TPM auto-install
This commit is contained in:
parent
c560228b3b
commit
c25a643bd0
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if which git > /dev/null 2>&1; then
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TPM="${HOME}/.tmux/plugins/tpm"
|
local TPM="${HOME}/.tmux/plugins/tpm"
|
||||||
# if tpm (Tmux Plugin Manager) is not installed, autoinstall it
|
# if tpm (Tmux Plugin Manager) is not installed, autoinstall it
|
||||||
if [ ! -e "${TPM}" ]; then
|
if [ ! -e "${TPM}" ]; then
|
||||||
git clone https://github.com/tmux-plugins/tpm "${TPM}"
|
git clone https://github.com/tmux-plugins/tpm "${TPM}"
|
||||||
|
|
Loading…
Reference in a new issue