open lf in foot

This commit is contained in:
committer@tuxwarrior
2026-02-27 19:12:01 -05:00
parent 1f093954ee
commit e9c1208713

View File

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