Use new plugin syntax all around

This commit is contained in:
Bruno Sutic 2015-07-07 01:49:33 +02:00
parent 343ae423dd
commit 79e4ba885d
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ check_binding_defined() {
test_plugin_sourcing() {
set_tmux_conf_helper <<- HERE
set -g @tpm_plugins "doesnt_matter/tmux_test_plugin"
set -g @plugin "doesnt_matter/tmux_test_plugin"
run-shell "$PWD/tpm"
HERE

View File

@ -12,7 +12,7 @@ manually_install_the_plugin() {
test_plugin_installation() {
set_tmux_conf_helper <<- HERE
set -g @tpm_plugins "tmux-plugins/tmux-example-plugin"
set -g @plugin "tmux-plugins/tmux-example-plugin"
run-shell "$PWD/tpm"
HERE

2
tpm
View File

@ -17,7 +17,7 @@ set_tpm_path() {
$CURRENT_DIR/scripts/set_tpm_path.sh >/dev/null 2>&1
}
# 1. Fetches plugin names from `@tpm_plugins` user variable.
# 1. Fetches plugin names from `@plugin` variables
# 2. Creates full plugin path
# 3. Sources all *.tmux files from each of the plugin directories
# - no errors raised if directory does not exist