diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2015-10-16 20:55:44 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2015-10-16 20:55:44 +0300 |
commit | ab3577a795870e38ac4c31ebedc030f756761fd6 (patch) | |
tree | dfb69f287ab2e23f6f9fce82df015a7931c27452 /powerlevel9k.zsh-theme | |
parent | be8bb63fc3f92c001cb0374f0293216e1b30f76c (diff) | |
parent | 62dee9824b6de724b4fa0d2b43c30fa194eb9280 (diff) |
Merge remote-tracking branch 'ben/next' into go_prompt
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index fd0f4908..30f42362 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -317,8 +317,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 |