From 03d1fd28daf04206c75bb1bffd42accd8948fe20 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 23 Dec 2016 03:10:29 -0500 Subject: [PATCH] shell/tmux/update: don't interfere with bootstrapper --- shell/tmux/update | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/shell/tmux/update b/shell/tmux/update index aff20908..57cb0d47 100755 --- a/shell/tmux/update +++ b/shell/tmux/update @@ -1,7 +1,6 @@ #!/usr/bin/env bash -CWD="$(dirname $0)" -if [[ -d "$CWD/.tmux/plugins/tpm/bin" ]]; then - "$CWD/.tmux/plugins/tpm/bin/update_plugins" all - "$CWD/.tmux/plugins/tpm/bin/clean_plugins" all +if [[ -d "$HOME/.tmux/plugins/tpm" ]]; then + "$HOME/.tmux/plugins/tpm/bin/update_plugins" all + "$HOME/.tmux/plugins/tpm/bin/clean_plugins" all fi