1
0
Fork 0
dotfiles/.local/bin/lf-select
Luca Bilke 25d21bdb8a rebase
2022-07-04 21:36:33 +02:00

9 lines
184 B
Bash
Executable file

#!/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