diff options
Diffstat (limited to 'lf-select')
| -rwxr-xr-x | lf-select | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lf-select b/lf-select new file mode 100755 index 0000000..3b2a17a --- /dev/null +++ b/lf-select @@ -0,0 +1,9 @@ +#!/bin/sh + +# Reads file names from stdin and selects them in lf. + +while read -r file; do + [ -z "$file" ] && continue + lf -remote "send select \"$file\"" + lf -remote "send toggle" +done |
