about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
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`