Re: Special processing for dotfiles
Adam Spiers <[email protected]> Sun, 8 May 2016 13:46:28 +0100
| Newsgroups | gmane.comp.gnu.stow.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Joris, On 23 Apr 2016 09:34, "Joris Vankerschaver" <[email protected]> wrote: > I use Stow to manage my dotfiles, but I found it somewhat confusing to > maintain stow directories full of hidden files. > > To work around this, I added an option "--dotfiles" to my stow > installation. When this is enabled, file or directory names that start with > "dot-" will be linked to a hidden file with "dot-" replaced by "." (e.g. > bash/dot-bashrc => .bashrc, emacs/dot-emacs/init.el => .emacs/init.el, etc). > > Is this something that would be of interest for the main branch? I added > my (very rough) implementation as a patch to this email, but I can make a > PR. There are some structural limitations that I'd need to figure out (e.g. > this kind of path rewriting doesn't work well with unfolding). Interesting idea, and I can see the appeal of this. Yes a PR would be welcome, and don't feel it has to be perfect before submitting; we can easily treat it as a draft until it's ready. > Last, thanks for writing and maintaining Stow. The package perfectly fits > my use case, and the code is super clean. I've never written any Perl > before but I found the code base to be very understandable and > self-explanatory. Thanks a lot! :-) Adam