about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-11-08 16:27:55 +0100
committerLeah Neukirchen <leah@vuxu.org>2017-11-08 16:27:55 +0100
commitedf84d21a185598cee59132e34fdf33bc71df6b3 (patch)
tree1f0adcaff1e387a0412f22135197349b49c2f352 /README.md
parent7f683af905ca5ee6d332dd0954383e8bf7d52b3c (diff)
downloadlr-edf84d21a185598cee59132e34fdf33bc71df6b3.tar.gz
lr-edf84d21a185598cee59132e34fdf33bc71df6b3.tar.xz
lr-edf84d21a185598cee59132e34fdf33bc71df6b3.zip
make prune evaluate to false
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8d59713..eb21a3c 100644
--- a/README.md
+++ b/README.md
@@ -304,6 +304,12 @@ List all files, but print them in red if they match "havoc":
 % lr -G -t 'name =~ "havoc" && color 160 || print'
 ```
 
+Do not enter `.git` or `.hg` directories:
+
+```
+% lr -t 'name = ".git" || name = ".hg" ? prune : print' .
+```
+
 ## Installation
 
 Use `make all` to build, `make install` to install relative to `PREFIX`