aspiers / aspiers/stow

flag --dotfiles work for directories but not for directories and files

Open
#129 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
1.1k
Forks
56
PR merge metrics
No merged PRs in 30d

Description

I'm on ArchLinux
stow (GNU Stow) version 2.4.1

I've been using stow for a few years actually and today I decided to try out the `--dotfiles` flag so I won't have a much of hidden directories/files on my dotfiles repository.

So I created a test folder in the following as I've always done but I have replaced `.config` with `dot-config` and `.testrc` with `dot-testrc`.

```
test
└── dot-config
└── test
└── dot-testrc
```

But when I run `stow -vt ~ test --dotfiles` it creates the following structure:

```
test
└── .config
└── test
└── dot-testrc
```

Shouldn't it also rename `dot-testrc` to `.testrc`?

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the shown `stow -vt ~ test --dotfiles` command and trace the `--dotfiles` handling in the `stow` entry point. Confirm the behavior for both the `dot-config` directory and nested `dot-testrc` file; done means both are installed as `.config` and `.testrc`.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.