Move key binding to the main file

This commit is contained in:
Bruno Sutic 2014-08-05 17:27:49 +02:00
parent 1f7e58f3a7
commit 86b5c3ab7e
3 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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"

2
tpm
View File

@ -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() {