lf() : suppress output

This commit is contained in:
committer@tuxwarrior
2026-03-01 16:46:24 -05:00
parent d83fb4f498
commit 6d0158a7ad

View File

@@ -98,7 +98,7 @@ esac
# ---
lf() {
local tmp=$(mktemp)
command foot lf -last-dir-path="$tmp" "$@" &
command foot lf -last-dir-path="$tmp" "$@" &>/dev/null &
if [[ -f "$tmp" ]]; then
local dir=$(cat "$tmp")
rm -f "$tmp"