File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,13 @@ Here you can find the recent changes to tmuxp
77current
88-------
99- *Insert changes/features/fixes for next release here *
10+ - :issue: `637 ` Support for loading directories with periods in it
11+
12+ ``tmuxp load ~/work/your.project `` will now work
13+
14+ Earlier workaround was to do ``tmuxp load ~/work/your.project/.tmuxp.yaml ``
15+
16+ Fixes :issue: `212 ` and :issue: `201 `
1017
1118tmuxp 1.5.6 (2020-10-12)
1219------------------------
Original file line number Diff line number Diff line change @@ -308,6 +308,8 @@ def scan_config(config, config_dir=None):
308308 is_name = False
309309 file_error = None
310310
311+ print ('scan_config' , config )
312+
311313 config = os .path .expanduser (config )
312314 # if purename, resolve to confg dir
313315 if is_pure_name (config ):
@@ -322,7 +324,7 @@ def scan_config(config, config_dir=None):
322324 config = normpath (join (cwd , config ))
323325
324326 # no extension, scan
325- if not splitext (config )[1 ]:
327+ if path . isdir ( config ) or not splitext (config )[1 ]:
326328 if is_name :
327329 candidates = [
328330 x
@@ -831,6 +833,8 @@ def command_load(
831833 load_workspace (cfg , ** opt )
832834
833835 # todo: obey the -d in the cli args only if user specifies
836+ print (config )
837+ print (config [- 1 ])
834838 load_workspace (config [- 1 ], ** tmux_options )
835839
836840
You can’t perform that action at this time.
0 commit comments