mirror of
				https://github.com/tmux-plugins/tmux-resurrect.git
				synced 2025-11-04 08:56:03 +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:
		@@ -3,6 +3,7 @@
 | 
				
			|||||||
### master
 | 
					### master
 | 
				
			||||||
- save and restore tmux pane contents (@laomaiweng)
 | 
					- save and restore tmux pane contents (@laomaiweng)
 | 
				
			||||||
- update tmux-test to solve issue with recursing git submodules in that project
 | 
					- 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
 | 
					### v2.4.0, 2015-02-23
 | 
				
			||||||
- add "tmux-test"
 | 
					- add "tmux-test"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,12 +22,12 @@ set_restore_bindings() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set_default_strategies() {
 | 
					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() {
 | 
					set_script_path_options() {
 | 
				
			||||||
	tmux set-option -g "$save_path_option" "$CURRENT_DIR/scripts/save.sh"
 | 
						tmux set-option -gq "$save_path_option" "$CURRENT_DIR/scripts/save.sh"
 | 
				
			||||||
	tmux set-option -g "$restore_path_option" "$CURRENT_DIR/scripts/restore.sh"
 | 
						tmux set-option -gq "$restore_path_option" "$CURRENT_DIR/scripts/restore.sh"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main() {
 | 
					main() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user