lf() : suppress output
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user