thoughtbot / rcm

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

Regression ? Undotted folder installed as dotted #294

Open mat-m opened 1 year ago

mat-m commented 1 year ago

I need to check test suite about this.

bin is both UNDOTTED and SYMLINK_DIRS

➜  ~ rcup -v
'/home/mm/.dotfiles/bin' -> '/home/mm/.bin'
identical /home/mm/.config/etc/home_backup.conf
identical /home/mm/.config/omzcustom
identical /home/mm/.config/zsh/aliases
identical /home/mm/.config/zsh/aliases-devel
identical /home/mm/.config/zsh/exports
identical /home/mm/.config/zsh/functions
identical /home/mm/.gitconfig
identical /home/mm/.oh-my-zsh
identical /home/mm/.p10k.zsh
identical /home/mm/.rcrc
identical /home/mm/.vimrc
identical /home/mm/.zshrc
➜  ~ cat .rcrc
UNDOTTED="bin config*:*"
SYMLINK_DIRS="bin config/omzcustom oh-my-zsh"
EXCLUDES="install.sh *.none *.md"
itaranto commented 1 year ago

I'm not sure if this is related or not, but in my case I have:

~/.dotfiles/local/share/ and ~/.dotfiles/local/bin and rcup -d local creates the links under ~/.share/ and ~/.bin/ when it should be creating them into ~/.local/share/ and ~/.local/bin/ instead.

itaranto commented 1 year ago

Maybe I misinterpreted what the -d semantics are, but running just lsrc seems to work fine.