Use -g in new plugin definition syntax

When tmux options are used without `-g` tmux complains on startup.
This commit is contained in:
Bruno Sutic
2015-06-02 23:27:22 +02:00
parent 9eee9c06b6
commit 583e447d33
3 changed files with 5 additions and 4 deletions

View File

@ -6,7 +6,7 @@ source $CURRENT_DIR/helpers.sh
test_plugin_installation() {
set_tmux_conf_helper <<- HERE
set @plugin "tmux-plugins/tmux-example-plugin"
set -g @plugin "tmux-plugins/tmux-example-plugin"
run-shell "$PWD/tpm"
HERE
@ -23,8 +23,8 @@ test_plugin_installation() {
test_multiple_plugins_installation() {
set_tmux_conf_helper <<- HERE
set @plugin "tmux-plugins/tmux-example-plugin"
set @plugin 'tmux-plugins/tmux-copycat'
set -g @plugin "tmux-plugins/tmux-example-plugin"
set -g @plugin 'tmux-plugins/tmux-copycat'
run-shell "$PWD/tpm"
HERE