1
0
Fork 0

lf: fix titles on cd

This commit is contained in:
Luca Bilke 2024-10-23 12:56:02 +02:00
parent 0a200d107f
commit ec52db4418
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ cmd bulkrename $vidir
cmd on-cd &{{ cmd on-cd &{{
lf -remote "send $id set promptfmt \"$(${HOME}/.local/libexec/lf_prompt)\"" 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 cmd on-quit &printf "\033]0; $(echo $PWD | sed "s|$HOME|~|")\007" > /dev/tty