summaryrefslogtreecommitdiff
path: root/plugins/screen
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-12-01 11:38:52 -0800
committerRobby Russell <robby@planetargon.com>2012-12-01 11:38:52 -0800
commit66e784c8c1ae66192c11780b047c7be66194032a (patch)
tree3a7982a67f2edeee5f8e2bd834ad0a21641bebbe /plugins/screen
parent26d46546a61fed28be99ce16bc5c9c9d3595b947 (diff)
parentaf729cc47698e4a894c074f5c5d19384cf175baa (diff)
downloadzsh-66e784c8c1ae66192c11780b047c7be66194032a.tar.gz
zsh-66e784c8c1ae66192c11780b047c7be66194032a.tar.bz2
zsh-66e784c8c1ae66192c11780b047c7be66194032a.zip
Merge pull request #1416 from talmuth/master
Add support of multiple screen variants in screen plugin
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