Add support of screen-* $TERM in screen plugin
This commit is contained in:
Родитель
c2ae9e09ca
Коммит
af729cc476
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче