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
7
7
current
8
8
-------
9
9
- *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 `
10
17
11
18
tmuxp 1.5.6 (2020-10-12)
12
19
------------------------
Original file line number Diff line number Diff line change @@ -308,6 +308,8 @@ def scan_config(config, config_dir=None):
308
308
is_name = False
309
309
file_error = None
310
310
311
+ print ('scan_config' , config )
312
+
311
313
config = os .path .expanduser (config )
312
314
# if purename, resolve to confg dir
313
315
if is_pure_name (config ):
@@ -322,7 +324,7 @@ def scan_config(config, config_dir=None):
322
324
config = normpath (join (cwd , config ))
323
325
324
326
# no extension, scan
325
- if not splitext (config )[1 ]:
327
+ if path . isdir ( config ) or not splitext (config )[1 ]:
326
328
if is_name :
327
329
candidates = [
328
330
x
@@ -831,6 +833,8 @@ def command_load(
831
833
load_workspace (cfg , ** opt )
832
834
833
835
# todo: obey the -d in the cli args only if user specifies
836
+ print (config )
837
+ print (config [- 1 ])
834
838
load_workspace (config [- 1 ], ** tmux_options )
835
839
836
840
You can’t perform that action at this time.
0 commit comments