1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

Add support of screen-* $TERM in screen plugin

This commit is contained in:
Denys Lózko 2012-11-22 00:46:50 +02:00
parent c2ae9e09ca
commit af729cc476

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