mirror of
				https://github.com/tmux-plugins/tmux-resurrect.git
				synced 2025-11-04 00:46:04 +00:00 
			
		
		
		
	Merge pull request #281 from lwilke/hotfix/94_use_login_shell_with_default_shell
Fix #94 start default-shell as login shell.
This commit is contained in:
		@@ -100,7 +100,7 @@ tmux_socket() {
 | 
				
			|||||||
# tmux server each time.
 | 
					# tmux server each time.
 | 
				
			||||||
cache_tmux_default_command() {
 | 
					cache_tmux_default_command() {
 | 
				
			||||||
	local default_shell="$(get_tmux_option "default-shell" "")"
 | 
						local default_shell="$(get_tmux_option "default-shell" "")"
 | 
				
			||||||
	export TMUX_DEFAULT_COMMAND="$(get_tmux_option "default-command" "$default_shell")"
 | 
						export TMUX_DEFAULT_COMMAND="$(get_tmux_option "default-command" "-l $default_shell")"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
tmux_default_command() {
 | 
					tmux_default_command() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user