lf: fix titles on cd
This commit is contained in:
parent
0a200d107f
commit
ec52db4418
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue