aboutsummaryrefslogtreecommitdiff
path: root/lf/dot-config
diff options
context:
space:
mode:
Diffstat (limited to 'lf/dot-config')
-rw-r--r--lf/dot-config/lf/lfrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lf/dot-config/lf/lfrc b/lf/dot-config/lf/lfrc
index b03d235..4d5bd8f 100644
--- a/lf/dot-config/lf/lfrc
+++ b/lf/dot-config/lf/lfrc
@@ -1,5 +1,6 @@
# vim: ft=lf
+set shell bash
set shellopts '-eu'
set ifs "\n"
set autoquit true
@@ -26,11 +27,11 @@ cmd mkdir $mkdir -p "$@"
cmd extract ${{
set -f
- filelist=""
+ filelist=
while IFS= read -r filename; do
filelist+=" $(basename "$filename")"
done <<< "$fx"
- if ouch decompress $fx; then
+ if ouch decompress "$fx"; then
lf -remote "send $id echomsg \"Extracted"$filelist" with ouch.\""
else
lf -remote "send $id echoerr \"Cannot extract"$filelist" with ouch.\""