summaryrefslogtreecommitdiff
path: root/man/lsrc.1
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2014-05-30 16:53:57 +0200
committerGravatar Mike Burns <mike@mike-burns.com>2014-07-09 11:10:04 +0200
commit82f59f31ceef20a262846fc1912de86b9d2df677 (patch)
tree1e1dc4154f767bc3cfa8fc18aee4aa3247cc88ed /man/lsrc.1
parentff2aa079062c7471c39590abf33d3f38b0c4abc7 (diff)
Allow the user to override SYMLINK_DIRS with -s
This adds a `-s` that can be used to override the `SYMLINK_DIRS` config, or the `-S` flag, to lsrc(1), mkrc(1), rcup(1), and rcdn(1). The `-s` flag is the opposite of -S: any argument, if it is a directory, is not symlinked but instead recurred down.
Diffstat (limited to 'man/lsrc.1')
-rw-r--r--man/lsrc.114
1 files changed, 14 insertions, 0 deletions
diff --git a/man/lsrc.1 b/man/lsrc.1
index 97fb536..a05dfe8 100644
--- a/man/lsrc.1
+++ b/man/lsrc.1
@@ -11,6 +11,7 @@
.Op Fl d Ar dir
.Op Fl I Ar excl_pat
.Op Fl S Ar excl_pat
+.Op Fl s Ar excl_pat
.Op Fl t Ar tag
.Op Fl x Ar excl_pat
.Op files ...
@@ -72,6 +73,19 @@ symlink the directories that match the given pattern. See
for more details. This option can be repeated. You may need to quote the
pattern to prevent the shell from swallowing the glob.
.
+.It Fl s Ar excl_pat
+if a directory matches the given pattern, recur inside of it instead of
+symlinking. See
+.Sx EXCLUDE PATTERN
+for more details. This is the opposite of the
+.Fl S
+option, and can be used to undo it or the
+.Va SYMLINK_DIRS
+setting in your
+.Xr rcrc 5
+configuration. It can be repeated, and the pattern may need to be quoted to
+protect it from your shell.
+.
.It Fl t Ar TAG
list dotfiles according to TAG
.