Add tmux bind to kill current session; update runs/utils
This commit is contained in:
		@@ -1,2 +1,5 @@
 | 
				
			|||||||
#!/bin/zsh
 | 
					#!/bin/zsh
 | 
				
			||||||
brew install jq
 | 
					
 | 
				
			||||||
 | 
					# likely on unix systems already: find xargs grep sed awk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					brew install jq parallel
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,6 +20,9 @@ bind -r l select-pane -R
 | 
				
			|||||||
# reload tmux.conf
 | 
					# reload tmux.conf
 | 
				
			||||||
bind r source-file "~/.config/tmux/tmux.conf" \; display-message "tmux.conf reloaded"
 | 
					bind r source-file "~/.config/tmux/tmux.conf" \; display-message "tmux.conf reloaded"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# kill the current session
 | 
				
			||||||
 | 
					bind Q rename-session zzzz-temp-kill\; switch-client -p\; kill-session -t zzzz-temp-kill
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# use tmux-sessionizer in place of f find
 | 
					# use tmux-sessionizer in place of f find
 | 
				
			||||||
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
 | 
					bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user