diff --git a/common/.config/lf/preview b/common/.config/lf/preview index 269bfb97..4e2a9c40 100755 --- a/common/.config/lf/preview +++ b/common/.config/lf/preview @@ -76,8 +76,9 @@ word() { ods() { td=$(mktemp -d) - libreoffice --headless --convert-to csv "$f" --outdir "$td" - csv "${td}/${f%.*}.csv" + libreoffice --headless --convert-to csv "$f" --outdir "$td" >/dev/null + b=$(basename "$f") + csv "${td}/${b%.*}.csv" rm -rf "$td" }