summaryrefslogtreecommitdiff
path: root/plugins/screen
diff options
context:
space:
mode:
authorStephen Zhuang <stephen.zhuang@gmail.com>2013-01-06 14:10:42 +0800
committerStephen Zhuang <stephen.zhuang@gmail.com>2013-01-06 14:10:42 +0800
commit914c47b3473b000288c693523f83fde998282a81 (patch)
treea29cf3d796544a3b2807e26812011cda51f644a9 /plugins/screen
parent692dca07158413ae27b2064c303240f5b9621cff (diff)
parent80a603259657acab97badbae20003b5a34c901f9 (diff)
downloadzsh-914c47b3473b000288c693523f83fde998282a81.tar.gz
zsh-914c47b3473b000288c693523f83fde998282a81.tar.bz2
zsh-914c47b3473b000288c693523f83fde998282a81.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'plugins/screen')
-rw-r--r--plugins/screen/screen.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/screen/screen.plugin.zsh b/plugins/screen/screen.plugin.zsh
index 98178e807..7009e7a91 100644
--- a/plugins/screen/screen.plugin.zsh
+++ b/plugins/screen/screen.plugin.zsh
@@ -1,6 +1,6 @@
# if using GNU screen, let the zsh tell screen what the title and hardstatus
# of the tab window should be.
-if [[ $TERM == "screen" ]]; then
+if [[ "$TERM" == screen* ]]; then
if [[ $_GET_PATH == '' ]]; then
_GET_PATH='echo $PWD | sed "s/^\/Users\//~/;s/^\/home\//~/;s/^~$USER/~/"'
fi