mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-10-31 22:38:58 +00:00
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:
parent
c32fb488e7
commit
00008e7f40
@ -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"
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user