summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-11-01 15:00:58 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-11-01 15:00:58 +0100
commit18cadaf9e1f3d3f909f89db63014d62a6481193f (patch)
tree1e202e2d3d2e3ded68188d1d643d3ea7ce42c403 /README.md
parentcc42f0d8b02c3d8e9de69e9331b55ab946f30d7b (diff)
downloadlr-18cadaf9e1f3d3f909f89db63014d62a6481193f.tar.gz
lr-18cadaf9e1f3d3f909f89db63014d62a6481193f.tar.xz
lr-18cadaf9e1f3d3f909f89db63014d62a6481193f.zip
README.md: use xe instead of xapply
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index dc2c9ea..c311ee1 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ Over ls:
 * `find . -regex '.*c': `lr -t 'path =~ "c$"'`
 * `find -L /proc/*/fd -maxdepth 1 -type f -links 0 -printf '%b %p\n'`:
 `lr -UL1 -t 'type == f && links == 0' -f '%b %p\n' /proc/*/fd`
-* `find "${@:-.}" -name HEAD -execdir sh -c 'git rev-parse --resolve-git-dir . >/dev/null 2>/dev/null && pwd' ';'`: `lr -0t 'name == "HEAD"' "$@" | xapply -fz 'cd %Q[1/-$] && git rev-parse --resolve-git-dir . >/dev/null && pwd' - 2>/dev/null`
+* `find "${@:-.}" -name HEAD -execdir sh -c 'git rev-parse --resolve-git-dir . >/dev/null 2>/dev/null && pwd' ';'`: `lr -0U -t 'name == "HEAD"' "$@" | xe -0 -s 'cd ${1%/*} && git rev-parse --resolve-git-dir . >/dev/null && pwd; true' 2>/dev/null`
 
 ## Usage: