diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-04-21 16:43:33 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-04-21 16:43:33 -0400 |
commit | 3848e94ab860d87ae28acc0cf4e98487785c558f (patch) | |
tree | 77908e0fda89e3429d7c4e947365b263a209c1a9 /.config/zsh | |
parent | 54aa168ae10bbbaac3c9c208ae29d7846bbc021e (diff) |
lf only starts as a single process (not a server)
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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" |