Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dotfiles doesn't work with adopt #77

Open
Barabas5532 opened this issue Feb 14, 2021 · 0 comments
Open

Dotfiles doesn't work with adopt #77

Barabas5532 opened this issue Feb 14, 2021 · 0 comments
Labels
adopt Issues with --adopt option dotfiles Issues with --dotfiles option
Milestone

Comments

@Barabas5532
Copy link

When using --adopt and --dotfiles together, files are not adopted correctly.

Steps to reproduce:

touch .dotfiles-test
mkdir test
cd test
mkdir test
touch test/dot-dotfiles-test
stow -n --adopt --dotfiles -v test

This results in the following print:

MV: .dotfiles-test -> test/test/.dotfiles-test
LINK: .dotfiles-test => test/test/dot-dotfiles-test
WARNING: in simulation mode so not modifying filesystem.

The file is moved to .dotfiles-test and the link is to dot-dotfiles-test. These are two different files, and the result is that the original file is no longer used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adopt Issues with --adopt option dotfiles Issues with --dotfiles option
Projects
None yet
Development

No branches or pull requests

2 participants