File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -638,15 +638,14 @@ def command_load(
638638 return
639639
640640 last_idx = len (args .workspace_files ) - 1
641- original_options = tmux_options .copy ()
641+ original_detached_option = tmux_options .pop ("detached" )
642+ original_new_session_name = tmux_options .pop ("new_session_name" )
642643
643644 for idx , workspace_file in enumerate (args .workspace_files ):
644645 workspace_file = scan_config (workspace_file , config_dir = get_config_dir ())
645646
646- detached = tmux_options .pop ("detached" , original_options .get ("detached" , False ))
647- new_session_name = tmux_options .pop (
648- "new_session_name" , original_options .get ("new_session_name" )
649- )
647+ detached = original_detached_option
648+ new_session_name = original_new_session_name
650649
651650 if last_idx > 0 and idx < last_idx :
652651 detached = True
You can’t perform that action at this time.
0 commit comments