Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Robert Spencer
awit-zsh-superawesome
Commits
0f7c72e9
Commit
0f7c72e9
authored
Dec 02, 2019
by
Nigel Kukard
Browse files
We shouldn't override the TERM, we can work on if we're in a desktop session
parent
1f288314
Changes
2
Hide whitespace changes
Inline
Side-by-side
zshrc.d/40-term.zsh
deleted
100644 → 0
View file @
1f288314
# Use a bunch of colors in screen
if
[
"
$TERM
"
=
"screen"
]
then
export
TERM
=
"screen-256color-s"
else
export
TERM
=
"xterm-256color"
fi
zshrc.d/60-prompt-oh-my-zsh.zsh
View file @
0f7c72e9
# Abort theming if we're not running in
xterm-256color
if
[
"
$TERM
"
!=
"xterm-256color
"
]
;
then
# Abort theming if we're not running in
a desktop session
if
[
-z
"
$DESKTOP_SESSION
"
]
;
then
return
fi
...
...
Write
Preview
Supports
Markdown
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