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

Add support to manange configuration files (w/ directory support) #5

Open
TheRealKeto opened this issue Dec 8, 2023 · 0 comments
Open

Comments

@TheRealKeto
Copy link

Stow, in many instances, is used to manage configuration files (referred to as dotfiles) with the --dotfiles flag. While this alternative doesn't have this flag yet, it would be nice to have it support modern configuration workflows.

Referring to modern configuration workflows, many individuals who've used Stow to manage their configuration files use the acceptable convention of prefixing files with the dot- prefix instead of using . (e.g dot-gitconfig -> .gitconfig). This allows for the file to not be hidden when the contents of a directory are viewed, but ultimately work correctly when stowing.

However, the current implementation of --dotfiles in Stow doesn't work with directories. For instance, a Stow package structured the following way will lead to an error when using the --dotfiles flag.

.
└── lsd
    └── dot-config
        └── lsd
            └── config.yaml

However, if the dot-config folder is renamed to .config, Stow works

.
└── lsd
    └── .config
        └── lsd
            └── config.yaml

This would ultimately make this alternative support a much more modern convention with a feature that the original simply doesn't have, aggregating to the all the other reasons to use this alternative.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant