mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
zsh-workers/9139
This commit is contained in:
parent
7262c3ba6c
commit
be5a334a0c
2 changed files with 4 additions and 4 deletions
|
@ -32,9 +32,9 @@ else
|
|||
local str=$zfconfig[lastloc_$ZFTP_SESSION]
|
||||
[[ ${#str} -lt 70 ]] && str="%m: %~ $str"
|
||||
case $TERM in
|
||||
sun-cmd) print -n -P "\033]l$str\033\\"
|
||||
sun-cmd) print -Pn "\033]l$str\033\\"
|
||||
;;
|
||||
*xterm*|rxvt|dtterm|Eterm) print -n -P "\033]2;$str\a"
|
||||
*xterm*|rxvt|dtterm|Eterm|kterm) print -Pn "\033]2;$str\a"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue