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 @@ -638,15 +638,14 @@ def command_load(
638
638
return
639
639
640
640
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" )
642
643
643
644
for idx , workspace_file in enumerate (args .workspace_files ):
644
645
workspace_file = scan_config (workspace_file , config_dir = get_config_dir ())
645
646
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
650
649
651
650
if last_idx > 0 and idx < last_idx :
652
651
detached = True
You can’t perform that action at this time.
0 commit comments