From c25a643bd0ecbb73b50724c080d3fcc791497d58 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Tue, 6 Feb 2018 13:13:48 -0500 Subject: [PATCH] Use local variable for TPM auto-install --- home/.scripts/auto-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/.scripts/auto-install.sh b/home/.scripts/auto-install.sh index cfd14cd..73ccd08 100755 --- a/home/.scripts/auto-install.sh +++ b/home/.scripts/auto-install.sh @@ -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)" fi - TPM="${HOME}/.tmux/plugins/tpm" + local TPM="${HOME}/.tmux/plugins/tpm" # if tpm (Tmux Plugin Manager) is not installed, autoinstall it if [ ! -e "${TPM}" ]; then git clone https://github.com/tmux-plugins/tpm "${TPM}"