d310fac7f65d31f7494532201e02ebf67c9d9555
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Merge pull request #4572 from aioutecism/master
Avoid using "PREFIX" that cause nvm to complain about.
Diff
1diff --git a/themes/sunrise.zsh-theme b/themes/sunrise.zsh-theme
2index 57d2649c6723478ba2d8ae9100f3ec3695cc4fb7..e3f4019d6afd83b9219dcecb39147142b4f260f1 100644
3--- a/themes/sunrise.zsh-theme
4+++ b/themes/sunrise.zsh-theme
5@@ -10,9 +10,9 @@ B=$fg_no_bold[blue]
6 RESET=$reset_color
7
8 if [ "$USER" = "root" ]; then
9- PROMPTCOLOR="%{$R%}" PREFIX="-!-";
10+ PROMPTCOLOR="%{$R%}" PROMPTPREFIX="-!-";
11 else
12- PROMPTCOLOR="" PREFIX="---";
13+ PROMPTCOLOR="" PROMPTPREFIX="---";
14 fi
15
16 local return_code="%(?..%{$R%}%? ↵%{$RESET%})"
17@@ -66,7 +66,7 @@ function custom_git_prompt() {
18 }
19
20 # %B sets bold text
21-PROMPT='%B$PREFIX %2~ $(custom_git_prompt)%{$M%}%B»%b%{$RESET%} '
22+PROMPT='%B$PROMPTPREFIX %2~ $(custom_git_prompt)%{$M%}%B»%b%{$RESET%} '
23 RPS1="${return_code}"
24
25 ZSH_THEME_GIT_PROMPT_PREFIX="%{$Y%}‹"