oops! lf-select added

This commit is contained in:
Luke Smith
2019-12-08 19:20:25 -05:00
parent 17e1851397
commit 7452fd681c
2 changed files with 10 additions and 1 deletions

9
.local/bin/lf-select Executable file
View File

@@ -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