From 3848e94ab860d87ae28acc0cf4e98487785c558f Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 21 Apr 2024 16:43:33 -0400 Subject: lf only starts as a single process (not a server) --- .config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index ddee6ea..d0cd6a7 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -91,7 +91,7 @@ source $HOME/.cache/shell-vars lfcd () { tmp="$(mktemp -uq)" trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM PWR EXIT' HUP INT QUIT TERM PWR EXIT - lfub -last-dir-path="$tmp" "$@" + lf -single -last-dir-path="$tmp" "$@" if [ -f "$tmp" ]; then dir="$(cat "$tmp")" [ -d "$dir" ] && [ "$dir" != "$(pwd)" ] && cd "$dir" -- cgit v1.2.3