Adjust tmux-sessionizer key-binds and filenames
This commit is contained in:
		@@ -5,8 +5,9 @@ switch_to() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
hydrate() {
 | 
			
		||||
    local tmux_hydrate_path="$HOME/.local/bin/.tmux-session-hydrate"
 | 
			
		||||
    local tmux_hydrate_path="$HOME/.local/bin/.tmux-session-hydrate-default"
 | 
			
		||||
    [[ -f $2/.tmux-session-hydrate ]] && tmux_hydrate_path="$2/.tmux-session-hydrate"
 | 
			
		||||
    # TODO: add special case: [[ "$1" = "hub" ]] && tmux_hydrate_path="$HOME/.local/bin/.tmux-session-hydrate-hub"
 | 
			
		||||
    [[ -f $tmux_hydrate_path ]] && tmux send-keys -t $1 "source $tmux_hydrate_path" c-M
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user