dotbot
dotbot copied to clipboard
Globbing with single file in source directory fails
Running d2f76a2, I found that this from the examples:
link:
~/.config/:
glob: true
path: config/*
... does not work when you only have one file in the config directory.
Example:
$ cd ~/.dotfiles
$ mkdir config
$ touch config/test.ini
$ ./install
...
Ambiguous action requested.
No wildcard in glob, directory use undefined: ~/.config/ -> ['config/test.ini']
Did you want to link the directory or into it?
...
As soon as you add another file, globbing works.
Duplicate of #282, but yes, it's absolutely time to fix this @anishathalye ... I've expressed my opinion in the other issue. As a side note, this issue (#284) is very similar. People just expect glob to well.. be flexible.
Thanks for bumping this. Dupe of #282, now fixed.