diff --git a/CHANGELOG.md b/CHANGELOG.md index 2124bf4..61223fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - update README to suggest different first plugin - update list of plugins in the README - remove README 'about' section +- move key binding to the main file. Delete `key_binding.sh`. ### v0.0.2, 2014-07-17 - run all *.tmux plugin files as executables diff --git a/scripts/key_binding.sh b/scripts/key_binding.sh deleted file mode 100755 index f3a34d9..0000000 --- a/scripts/key_binding.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env bash - -CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# (I)nstalls all plugins -tmux bind-key I run-shell "$CURRENT_DIR/sync_plugins.sh >/dev/null 2>&1" diff --git a/tpm b/tpm index 76d6533..3af55c4 100755 --- a/tpm +++ b/tpm @@ -26,7 +26,7 @@ source_plugins() { # Defines key binding: # prefix + I - downloads TPM plugins and reloads TMUX environment. set_tpm_key_binding() { - $CURRENT_DIR/scripts/key_binding.sh + tmux bind-key I run-shell "$CURRENT_DIR/scripts/sync_plugins.sh >/dev/null 2>&1" } supported_tmux_version_ok() {