about summary refs log tree commit diff
path: root/contrib/lrls
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-02-08 20:10:56 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-02-08 20:10:56 +0100
commit5a14865703141bcf489778960e615a9bfe2608bf (patch)
treefd43fc3145d5151887bc0b3c07b31b05be9220f6 /contrib/lrls
parented14685ee59c4e7b09053e9def6db88e3ba100cd (diff)
downloadlr-5a14865703141bcf489778960e615a9bfe2608bf.tar.gz
lr-5a14865703141bcf489778960e615a9bfe2608bf.tar.xz
lr-5a14865703141bcf489778960e615a9bfe2608bf.zip
add some contrib scripts.
Diffstat (limited to 'contrib/lrls')
-rwxr-xr-xcontrib/lrls8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/lrls b/contrib/lrls
new file mode 100755
index 0000000..fc4b149
--- /dev/null
+++ b/contrib/lrls
@@ -0,0 +1,8 @@
+#!/bin/sh
+# lrls - lr with GNU ls style output
+
+color=
+[ -t 1 ] && color=-GG
+
+lr $color -A1s  -t '!type == d || depth > 0' "$@" |git column --mode=dense --pad=2
+