Skip to content

Commit ab4d0c3

Browse files
committed
!squash
1 parent f94dfc8 commit ab4d0c3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/tmuxp/cli/load.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@
2121

2222
from .. import config, exc, log, util
2323
from ..workspacebuilder import WorkspaceBuilder
24-
from .utils import _validate_choices, get_config_dir, tmuxp_echo
24+
from .utils import (
25+
ConfigPath,
26+
_validate_choices,
27+
get_config_dir,
28+
scan_config,
29+
tmuxp_echo,
30+
)
2531

2632

2733
def set_layout_hook(session, hook_name):
@@ -612,6 +618,8 @@ def command_load(
612618
parser.print_help()
613619
sys.exit()
614620

621+
config = scan_config(config, config_dir=get_config_dir())
622+
615623
if isinstance(config, str):
616624
load_workspace(config, **tmux_options)
617625
elif isinstance(config, tuple):

0 commit comments

Comments
 (0)