Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
66e784c8
Commit
66e784c8
authored
Dec 01, 2012
by
Robby Russell
Browse files
Merge pull request #1416 from talmuth/master
Add support of multiple screen variants in screen plugin
parents
26d46546
af729cc4
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/screen/screen.plugin.zsh
View file @
66e784c8
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment