aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-10-14 00:42:46 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-10-14 00:42:46 +0300
commitf7e1f64b4c0f44408bb06d7dec018768dd767c5b (patch)
treed938dc5972caa8b577eb9e1139aec449981d6f37 /powerlevel9k.zsh-theme
parent20447a22c93c9fab1cd84b5882924c67771a4c61 (diff)
Added handling for bright colors.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index dfe19925..f07caf2f 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -255,6 +255,8 @@ function getColorCode() {
1=${1#bg-}
# Strip eventual "fg-" prefixes
1=${1#fg-}
+ # Strip eventual "br" prefixes ("bright" colors)
+ 1=${1#br}
echo $codes[$1]
fi
}