Merge pull request #71 from egli/master

Mention the dotfiles option in the manual
This commit is contained in:
Adam Spiers 2020-11-01 12:24:52 +00:00 committed by GitHub
commit 72dd8723b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -358,6 +358,24 @@ pages that are owned by stow and would otherwise cause a conflict.
The regular expression is anchored to the beginning of the path relative to The regular expression is anchored to the beginning of the path relative to
the target directory, because this is what you will want to do most of the time. the target directory, because this is what you will want to do most of the time.
@cindex dotfiles
@item --dotfiles
Enable special handling for @emph{dotfiles} (files or folders whose
name begins with a period) in the package directory. If this option is
enabled, Stow will add a preprocessing step for each file or folder
whose name begins with @samp{dot-}, and replace the @samp{dot-} prefix
in the name by a period @samp{.}. This is useful when Stow is used to
manage collections of dotfiles, to avoid having a package directory
full of hidden files.
For example, suppose we have a package containing two files,
@file{stow/dot-bashrc} and @file{stow/dot-emacs.d/init.el}. With this
option, Stow will create symlinks from @file{.bashrc} to
@file{stow/dot-bashrc} and from @file{.emacs.d/init.el} to
@file{stow/dot-emacs.d/init.el}. Any other files, whose name does not
begin with @samp{dot-}, will be processed as usual.
@item --no-folding @item --no-folding
This disables any further tree folding (@pxref{tree folding}) or This disables any further tree folding (@pxref{tree folding}) or