summaryrefslogtreecommitdiff
path: root/themes/simonoff.zsh-theme
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-02-10 11:17:17 -0800
committerRobby Russell <robby@planetargon.com>2015-02-10 11:17:17 -0800
commitff823f810b38cd761ac3f65162065ad613b6e25d (patch)
treecf18f5f63bda799616e03e59e48a7fa1ffe2a19a /themes/simonoff.zsh-theme
parent13e5afe805f28749f4aa6a5e82272760a62ad573 (diff)
parent2193135ebc4ce0778ff6949b448e4526dbd34284 (diff)
downloadzsh-ff823f810b38cd761ac3f65162065ad613b6e25d.tar.gz
zsh-ff823f810b38cd761ac3f65162065ad613b6e25d.tar.bz2
zsh-ff823f810b38cd761ac3f65162065ad613b6e25d.zip
Merge pull request #3564 from mcornella/LFDM-cleaning_lib
Repost #2422: cleaning lib
Diffstat (limited to 'themes/simonoff.zsh-theme')
-rw-r--r--themes/simonoff.zsh-theme5
1 files changed, 1 insertions, 4 deletions
diff --git a/themes/simonoff.zsh-theme b/themes/simonoff.zsh-theme
index fb4d32e24..63ce4261b 100644
--- a/themes/simonoff.zsh-theme
+++ b/themes/simonoff.zsh-theme
@@ -63,10 +63,7 @@ setprompt () {
###
# See if we can use colors.
- autoload colors zsh/terminfo
- if [[ "$terminfo[colors]" -ge 8 ]]; then
- colors
- fi
+ autoload zsh/terminfo
for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE; do
eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'