From 8d6bc1fc7b14d26589a4789dc9da291ef404bd61 Mon Sep 17 00:00:00 2001 From: Christopher Koch Date: Wed, 23 Jul 2014 00:03:27 +0200 Subject: 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. --- man/mkrc.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'man/mkrc.1') diff --git a/man/mkrc.1 b/man/mkrc.1 index 687c894..9ac11a7 100644 --- a/man/mkrc.1 +++ b/man/mkrc.1 @@ -6,7 +6,7 @@ .Nd bless files into a dotfile managed by rcm .Sh SYNOPSIS .Nm mkrc -.Op Fl ChoqSsVv +.Op Fl ChoqSsVvUu .Op Fl t Ar tag .Op Fl d Ar dir .Op Fl B Ar hostname @@ -46,6 +46,12 @@ in the section This is the default. .It Fl t Ar TAG install dotfiles according to tag +.It Fl U +the specified files or directories are to be installed without a leading +dot. +.It Fl u +the specified files or directories are to be installed with a leading dot. This +is the default. .It Fl v increase verbosity. This can be repeated for extra verbosity. .It Fl V @@ -66,6 +72,7 @@ User configuration file. Defaults to .Dl mkrc -o ~/.rcrc .Dl mkrc -C .ssh .Dl mkrc -S .zpretzo +.Dl mkrc -U bin .Sh SEE ALSO .Xr lsrc 1 , .Xr rcdn 1 , -- cgit v1.2.3