diff --git a/termite.1 b/termite.1 index a9371e4..091ade1 100644 --- a/termite.1 +++ b/termite.1 @@ -151,14 +151,9 @@ The directory can be set by a process running in the terminal. For example, with \fRzsh\fP: .IP .nf -if [[ $TERM == xterm -termite ]]; then +if [[ $TERM == xterm-termite ]]; then . /etc/profile.d/vte.sh - - __vte_ps1 - - chpwd() { - __vte_ps1 - } + __vte_osc7 fi .fi .PP @@ -167,7 +162,7 @@ or for example, with \fRbash\fP: .nf if [[ $TERM == xterm-termite ]]; then . /etc/profile.d/vte.sh - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'__vte_ps1' + __vte_prompt_command fi .fi .PP