Merge pull request #1416 from talmuth/master

Add support of multiple screen variants in screen plugin
This commit is contained in:
Robby Russell 2012-12-01 11:38:52 -08:00
commit 66e784c8c1

View File

@ -1,6 +1,6 @@
# if using GNU screen, let the zsh tell screen what the title and hardstatus # if using GNU screen, let the zsh tell screen what the title and hardstatus
# of the tab window should be. # of the tab window should be.
if [[ $TERM == "screen" ]]; then if [[ "$TERM" == screen* ]]; then
if [[ $_GET_PATH == '' ]]; then if [[ $_GET_PATH == '' ]]; then
_GET_PATH='echo $PWD | sed "s/^\/Users\//~/;s/^\/home\//~/;s/^~$USER/~/"' _GET_PATH='echo $PWD | sed "s/^\/Users\//~/;s/^\/home\//~/;s/^~$USER/~/"'
fi fi