File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -637,15 +637,14 @@ def command_load(
637
637
return
638
638
639
639
last_idx = len (args .config_files ) - 1
640
- original_options = tmux_options .copy ()
640
+ original_detached_option = tmux_options .pop ("detached" )
641
+ original_new_session_name = tmux_options .pop ("new_session_name" )
641
642
642
643
for idx , config_file in enumerate (args .config_files ):
643
644
config_file = scan_config (config_file , config_dir = get_config_dir ())
644
645
645
- detached = tmux_options .pop ("detached" , original_options .get ("detached" , False ))
646
- new_session_name = tmux_options .pop (
647
- "new_session_name" , original_options .get ("new_session_name" )
648
- )
646
+ detached = original_detached_option
647
+ new_session_name = original_new_session_name
649
648
650
649
if last_idx > 0 and idx < last_idx :
651
650
detached = True
You can’t perform that action at this time.
0 commit comments