From 00008e7f40db5570940f58bd1f9b9d5a62eb21a1 Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Thu, 23 Apr 2015 14:22:55 +0200 Subject: [PATCH] Quiet set-options in resurrect.tmux Using "loud" set-options command is an issue when plugin is installed manually. Fixes #83 --- CHANGELOG.md | 1 + resurrect.tmux | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca875a7..d34fde4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ### master - save and restore tmux pane contents (@laomaiweng) - update tmux-test to solve issue with recursing git submodules in that project +- set options quietly in `resurrect.tmux` script ### v2.4.0, 2015-02-23 - add "tmux-test" diff --git a/resurrect.tmux b/resurrect.tmux index e79c3bf..1a85314 100755 --- a/resurrect.tmux +++ b/resurrect.tmux @@ -22,12 +22,12 @@ set_restore_bindings() { } set_default_strategies() { - tmux set-option -g "${restore_process_strategy_option}irb" "default_strategy" + tmux set-option -gq "${restore_process_strategy_option}irb" "default_strategy" } set_script_path_options() { - tmux set-option -g "$save_path_option" "$CURRENT_DIR/scripts/save.sh" - tmux set-option -g "$restore_path_option" "$CURRENT_DIR/scripts/restore.sh" + tmux set-option -gq "$save_path_option" "$CURRENT_DIR/scripts/save.sh" + tmux set-option -gq "$restore_path_option" "$CURRENT_DIR/scripts/restore.sh" } main() {