diff options
author | Marc Cornellà <marc.cornella@live.com> | 2016-04-06 12:03:20 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2016-04-06 12:03:20 +0200 |
commit | d310fac7f65d31f7494532201e02ebf67c9d9555 (patch) | |
tree | 8a1415b5d570a50f354de87024be9682ed33590f /themes | |
parent | b7142922f87d643d8fa6e7c1b339f0ba8aad74d7 (diff) | |
parent | e66afc031833590d6077c029596f251ed247158a (diff) | |
download | zsh-d310fac7f65d31f7494532201e02ebf67c9d9555.tar.gz zsh-d310fac7f65d31f7494532201e02ebf67c9d9555.tar.bz2 zsh-d310fac7f65d31f7494532201e02ebf67c9d9555.zip |
Merge pull request #4572 from aioutecism/master
Avoid using "PREFIX" that cause nvm to complain about.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/sunrise.zsh-theme | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/sunrise.zsh-theme b/themes/sunrise.zsh-theme index 57d2649c6..e3f4019d6 100644 --- a/themes/sunrise.zsh-theme +++ b/themes/sunrise.zsh-theme @@ -10,9 +10,9 @@ B=$fg_no_bold[blue] RESET=$reset_color if [ "$USER" = "root" ]; then - PROMPTCOLOR="%{$R%}" PREFIX="-!-"; + PROMPTCOLOR="%{$R%}" PROMPTPREFIX="-!-"; else - PROMPTCOLOR="" PREFIX="---"; + PROMPTCOLOR="" PROMPTPREFIX="---"; fi local return_code="%(?..%{$R%}%? ↵%{$RESET%})" @@ -66,7 +66,7 @@ function custom_git_prompt() { } # %B sets bold text -PROMPT='%B$PREFIX %2~ $(custom_git_prompt)%{$M%}%B»%b%{$RESET%} ' +PROMPT='%B$PROMPTPREFIX %2~ $(custom_git_prompt)%{$M%}%B»%b%{$RESET%} ' RPS1="${return_code}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$Y%}‹" |