66e784c8c1ae66192c11780b047c7be66194032a

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #1416 from talmuth/master

Add support of multiple screen variants in screen plugin

Diff

 1diff --git a/plugins/screen/screen.plugin.zsh b/plugins/screen/screen.plugin.zsh
 2index 98178e807cce8d2f9363c0dda5d53bbc8466456d..7009e7a91bcdf1294353af7e9394b2ef97feedeb 100644
 3--- a/plugins/screen/screen.plugin.zsh
 4+++ b/plugins/screen/screen.plugin.zsh
 5@@ -1,6 +1,6 @@
 6 # if using GNU screen, let the zsh tell screen what the title and hardstatus
 7 # of the tab window should be.
 8-if [[ $TERM == "screen" ]]; then
 9+if [[ "$TERM" == screen* ]]; then
10   if [[ $_GET_PATH == '' ]]; then
11     _GET_PATH='echo $PWD | sed "s/^\/Users\//~/;s/^\/home\//~/;s/^~$USER/~/"'
12   fi