From ec52db44183d830d7b86808b122ef8736d0b1a62 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 23 Oct 2024 12:56:02 +0200 Subject: [PATCH] lf: fix titles on cd --- common/.config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/.config/lf/lfrc b/common/.config/lf/lfrc index cf44da1f2..7bba19203 100644 --- a/common/.config/lf/lfrc +++ b/common/.config/lf/lfrc @@ -73,7 +73,7 @@ cmd bulkrename $vidir cmd on-cd &{{ lf -remote "send $id set promptfmt \"$(${HOME}/.local/libexec/lf_prompt)\"" - printf "%b" "\033]0;$(zsh -c 'print -P %n@%m [%3~] ')\007" > /dev/tty + printf "%b" "\033]0;$(zsh -c 'print -P "%n@%m [%3~] "')\007" > /dev/tty }} cmd on-quit &printf "\033]0; $(echo $PWD | sed "s|$HOME|~|")\007" > /dev/tty