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/rcup.1 | |
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/rcup.1')
-rw-r--r-- | man/rcup.1 | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -14,6 +14,8 @@ .Op Fl S Ar excl_pat .Op Fl s Ar excl_pat .Op Fl t Ar tag +.Op Fl U Ar excl_pat +.Op Fl u Ar excl_pat .Op Fl x Ar excl_pat .Op Ar files ... .Sh DESCRIPTION @@ -91,6 +93,25 @@ This option can be repeated. .It Fl t Ar TAG install dotfiles according to .Ar TAG +.It Fl U Ar EXCL_PAT +any rc file that matches +.Ar EXCL_PAT +is installed without a leading dot. This option can be repeated. See the +documentation of the +.Fl U +option in +.Xr lsrc 1 +for more information. +.It Fl u Ar EXCL_PAT +any rc file that matches +.Ar EXCL_PAT +is installed with a leading dot. This is the opposite of +.Fl U . +This option can be repeated. This is the default. See the documentation of the +.Fl u +option in +.Xr lsrc 1 +for more information. .It Fl q decrease verbosity .It Fl V |