Quiet set-options in resurrect.tmux

Using "loud" set-options command is an issue when plugin is installed
manually.

Fixes #83
This commit is contained in:
Bruno Sutic 2015-04-23 14:22:55 +02:00
parent c32fb488e7
commit 00008e7f40
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
2 changed files with 4 additions and 3 deletions

View File

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

View File

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