diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-13 22:17:45 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-01-13 22:17:45 -0500 |
| commit | 83113fff46023d6cde0c2d982978fe7f5a5cfce2 (patch) | |
| tree | abf3ded17c7c689306805df01d7c84445f47f5eb /lf/dot-config | |
| parent | 5e83a094476f28eb77508c8b470efe3dfd56de83 (diff) | |
updates
Diffstat (limited to 'lf/dot-config')
| -rw-r--r-- | lf/dot-config/lf/lfrc | 5 |
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.\"" |
