open lf in foot
This commit is contained in:
@@ -94,7 +94,7 @@ esac
|
|||||||
# ---
|
# ---
|
||||||
lf() {
|
lf() {
|
||||||
local tmp=$(mktemp)
|
local tmp=$(mktemp)
|
||||||
command lf -last-dir-path="$tmp" "$@"
|
command foot lf -last-dir-path="$tmp" "$@" &
|
||||||
if [[ -f "$tmp" ]]; then
|
if [[ -f "$tmp" ]]; then
|
||||||
local dir=$(cat "$tmp")
|
local dir=$(cat "$tmp")
|
||||||
rm -f "$tmp"
|
rm -f "$tmp"
|
||||||
|
|||||||
Reference in New Issue
Block a user