Browse Source

Merge pull request #1416 from talmuth/master

Add support of multiple screen variants in screen plugin
Robby Russell 12 years ago
parent
commit
66e784c8c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/screen/screen.plugin.zsh

+ 1 - 1
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