open lf in foot
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user