diff options
author | Christopher Koch <ckoch@cs.nmt.edu> | 2014-07-23 00:03:27 +0200 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2014-11-19 15:20:30 -0800 |
commit | 8d6bc1fc7b14d26589a4789dc9da291ef404bd61 (patch) | |
tree | 9429cd6340cd0436bb678a6ab16ed882aac6fef2 /man/rcm.7.mustache | |
parent | 6f011c7fab8d407ec0cd091e9cbeb03c276372ce (diff) |
Support rc files without leading dots
This adds the `-U` option to lsrc(1), rcup(1), and rcdn(1) commands; its
argument is an exclusion pattern. Any file matching this pattern is
symlinked without the leading dot.
There is also a `-u` option to undo a `-U`. The `UNDOTTED` setting in
rcrc(5) can be used to set it permanently.
The mkrc(1) command has `-U` and `-u` flags. They take no argument.
Diffstat (limited to 'man/rcm.7.mustache')
-rw-r--r-- | man/rcm.7.mustache | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man/rcm.7.mustache b/man/rcm.7.mustache index bea7aea..52b2187 100644 --- a/man/rcm.7.mustache +++ b/man/rcm.7.mustache @@ -115,6 +115,21 @@ in .Pp .Dl rcup -d configs -v . +.Ss COMMON PROBLEM: CONFIGURATION FILES/DIRECTORIES WITHOUT DOTS +By default, the rcm suite will prefix every file and directory it manages +with a dot. If that is not desired, for example in the case of +.Pa ~/bin +or +.Pa ~/texmf , +you can add that file or directory to +.Ev UNDOTTED +in +.Xr rcrc 5 +or use the +.Fl U +option. For example: +.Dl mkrc -U bin +. .Sh QUICK START FOR EMPTY DOTFILES DIRECTORIES This section is for those who do not have an existing dotfiles directory and whose dotfiles are standard. |