aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-10-16 20:51:04 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-10-16 20:51:04 +0300
commit5a0f330cd79311a8a3b3b168031be288014caa2e (patch)
tree32b8dc0903532fe5e0082f482527d8b6f37dc216 /powerlevel9k.zsh-theme
parentf7e1f64b4c0f44408bb06d7dec018768dd767c5b (diff)
parent62dee9824b6de724b4fa0d2b43c30fa194eb9280 (diff)
Merge remote-tracking branch 'ben/next' into color_detection
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme3
1 files changed, 1 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index f07caf2f..f0e8d607 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -365,8 +365,7 @@ esac
# `sed` is unfortunately not consistent across OSes when it comes to flags.
SED_EXTENDED_REGEX_PARAMETER="-r"
if [[ "$OS" == 'OSX' ]]; then
- local IS_BSD_SED
- IS_BSD_SED=$(sed --version &>> /dev/null || echo "BSD sed")
+ local IS_BSD_SED="$(sed --version &>> /dev/null || echo "BSD sed")"
if [[ -n "$IS_BSD_SED" ]]; then
SED_EXTENDED_REGEX_PARAMETER="-E"
fi