about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-23 10:53:50 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-23 10:53:50 +0000
commitbe5a334a0c06f215905f3972508e78a059d1c7fe (patch)
tree44aa449f013d8c81d39fd6b79ee98dee631d7682 /Functions
parent7262c3ba6cdda62c5d4386fdfa5e5e6aebc336fd (diff)
downloadzsh-be5a334a0c06f215905f3972508e78a059d1c7fe.tar.gz
zsh-be5a334a0c06f215905f3972508e78a059d1c7fe.tar.xz
zsh-be5a334a0c06f215905f3972508e78a059d1c7fe.zip
zsh-workers/9139
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zftp/zftp_chpwd4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zftp/zftp_chpwd b/Functions/Zftp/zftp_chpwd
index cd4560540..f661fa3ee 100644
--- a/Functions/Zftp/zftp_chpwd
+++ b/Functions/Zftp/zftp_chpwd
@@ -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