thoughtbot / rcm

rc file (dotfile) management
https://thoughtbot.github.io/rcm/rcm.7.html
BSD 3-Clause "New" or "Revised" License
3.13k stars 136 forks source link

Anything broken with -t option? mkrc and rcup not work correctly #299

Open gitttyyy opened 6 months ago

gitttyyy commented 6 months ago

https://github.com/thoughtbot/rcm/assets/154318356/9caec485-b0e4-4bd3-8794-0bf64ab790f2

I can`t recover the file what I new create but the old work correctly

fredirk commented 2 months ago

The symlink is ending up in ~/.test instead of ~/test. You can use the -U flag to strip the leading dot

$ mkrc -U -ttest ~/test/all.txt
$ ls -l ~/test
lrwxrwxrwx 1 xyz xyz 45 aug 22 22:28 all.txt -> /home/xyz/.dotfiles/tag-test/test/all.txt