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