Browse files

Add support of screen-* $TERM in screen plugin

  • Loading branch information...
1 parent c2ae9e0 commit af729cc47698e4a894c074f5c5d19384cf175baa @talmuth talmuth committed Nov 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/screen/screen.plugin.zsh
View
2 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

0 comments on commit af729cc

Please sign in to comment.