summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-04-21 16:43:33 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2024-04-21 16:43:33 -0400
commit3848e94ab860d87ae28acc0cf4e98487785c558f (patch)
tree77908e0fda89e3429d7c4e947365b263a209c1a9
parent54aa168ae10bbbaac3c9c208ae29d7846bbc021e (diff)
lf only starts as a single process (not a server)
-rw-r--r--.config/zsh/.zshrc2
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"