summaryrefslogtreecommitdiff
path: root/plugins/screen/screen.plugin.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-12-02 11:50:36 -0800
committerRobby Russell <robby@planetargon.com>2012-12-02 11:50:36 -0800
commit56f094860bec91c1968d46cccd5d2c2e3d179de1 (patch)
tree88038f3e9a42d40906ce77252d4e664a1eb60fb8 /plugins/screen/screen.plugin.zsh
parentded745bf1471487c7dc537c781685615ff4c2515 (diff)
parent80ab595696f30d89bf52bb5189fa39518a3ca780 (diff)
downloadzsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.tar.gz
zsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.tar.bz2
zsh-56f094860bec91c1968d46cccd5d2c2e3d179de1.zip
Merge branch 'master' of github.com:robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/screen/screen.plugin.zsh')
-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