mirror of
				https://github.com/tmux-plugins/tpm.git
				synced 2025-11-04 00:16:05 +00:00 
			
		
		
		
	More variable quoting
This commit is contained in:
		
							
								
								
									
										6
									
								
								tpm
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tpm
									
									
									
									
									
								
							@@ -30,13 +30,13 @@ source_plugins() {
 | 
				
			|||||||
# prefix + U - updates a plugin (or all of them) and reloads TMUX environment
 | 
					# prefix + U - updates a plugin (or all of them) and reloads TMUX environment
 | 
				
			||||||
# prefix + alt + u - remove unused TPM plugins and reloads TMUX environment
 | 
					# prefix + alt + u - remove unused TPM plugins and reloads TMUX environment
 | 
				
			||||||
set_tpm_key_bindings() {
 | 
					set_tpm_key_bindings() {
 | 
				
			||||||
	local install_key=$(get_tmux_option "$install_key_option" "$default_install_key")
 | 
						local install_key="$(get_tmux_option "$install_key_option" "$default_install_key")"
 | 
				
			||||||
	tmux bind-key "$install_key" run-shell "$BINDINGS_DIR/install_plugins"
 | 
						tmux bind-key "$install_key" run-shell "$BINDINGS_DIR/install_plugins"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	local update_key=$(get_tmux_option "$update_key_option" "$default_update_key")
 | 
						local update_key="$(get_tmux_option "$update_key_option" "$default_update_key")"
 | 
				
			||||||
	tmux bind-key "$update_key" run-shell "$BINDINGS_DIR/update_plugins"
 | 
						tmux bind-key "$update_key" run-shell "$BINDINGS_DIR/update_plugins"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	local clean_key=$(get_tmux_option "$clean_key_option" "$default_clean_key")
 | 
						local clean_key="$(get_tmux_option "$clean_key_option" "$default_clean_key")"
 | 
				
			||||||
	tmux bind-key "$clean_key" run-shell "$BINDINGS_DIR/clean_plugins"
 | 
						tmux bind-key "$clean_key" run-shell "$BINDINGS_DIR/clean_plugins"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user