diff options
author | Mark Drago <markdrago@gmail.com> | 2011-12-31 12:13:31 -0500 |
---|---|---|
committer | Mark Drago <markdrago@gmail.com> | 2011-12-31 12:13:31 -0500 |
commit | e3c34b4f9aee666ea5446a975b4a70cdbab3239c (patch) | |
tree | 922dd96977ed1dd67b1a2e1443caae034b0ac764 | |
parent | 3e9493fb301b7d34bb6861787d97067ec9365268 (diff) | |
download | zsh-e3c34b4f9aee666ea5446a975b4a70cdbab3239c.tar.gz zsh-e3c34b4f9aee666ea5446a975b4a70cdbab3239c.tar.bz2 zsh-e3c34b4f9aee666ea5446a975b4a70cdbab3239c.zip |
add ability to set custom prefix for cloud theme
-rw-r--r-- | themes/cloud.zsh-theme | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/cloud.zsh-theme b/themes/cloud.zsh-theme index ad5e2834b..4efbf9776 100644 --- a/themes/cloud.zsh-theme +++ b/themes/cloud.zsh-theme @@ -1,4 +1,8 @@ -PROMPT='%{$fg_bold[cyan]%}☁ %{$fg_bold[green]%}%p %{$fg[green]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' +if [[ -z $ZSH_THEME_CLOUD_PREFIX ]]; then + ZSH_THEME_CLOUD_PREFIX='☁' +fi + +PROMPT='%{$fg_bold[cyan]%}$ZSH_THEME_CLOUD_PREFIX %{$fg_bold[green]%}%p %{$fg[green]%}%c %{$fg_bold[cyan]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}[%{$fg[cyan]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" |