summaryrefslogtreecommitdiff
path: root/themes/jonathan.zsh-theme
diff options
context:
space:
mode:
authorAshley Valent <avalent@atlassian.com>2015-02-11 11:22:15 +1100
committerAshley Valent <avalent@atlassian.com>2015-02-11 11:22:15 +1100
commit3b6a695b60d81691ab8e31197fc8e0444df0e394 (patch)
tree84529e1bc0a54cdd9471e53c597e913797c04014 /themes/jonathan.zsh-theme
parent3ba10ad0a2ed85c26e096126a7899a401cf8f9e7 (diff)
parentef7e53a78d0e4196c2d1e6e5b268209759d51753 (diff)
downloadzsh-3b6a695b60d81691ab8e31197fc8e0444df0e394.tar.gz
zsh-3b6a695b60d81691ab8e31197fc8e0444df0e394.tar.bz2
zsh-3b6a695b60d81691ab8e31197fc8e0444df0e394.zip
Merge branch 'master' of github.com:avalent/oh-my-zsh
Diffstat (limited to 'themes/jonathan.zsh-theme')
-rw-r--r--themes/jonathan.zsh-theme5
1 files changed, 1 insertions, 4 deletions
diff --git a/themes/jonathan.zsh-theme b/themes/jonathan.zsh-theme
index bca92970c..2f0e77431 100644
--- a/themes/jonathan.zsh-theme
+++ b/themes/jonathan.zsh-theme
@@ -44,10 +44,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 GREY; do
eval PR_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
eval PR_LIGHT_$color='%{$fg[${(L)color}]%}'