diff options
author | Robby Russell <robby@planetargon.com> | 2012-12-04 06:52:32 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-12-04 06:52:32 -0800 |
commit | 462136a9d6188f4928d9a58a9421ebccdca293c9 (patch) | |
tree | cc8de3b0dec874a85305a6811da5d55c3440b0ed /themes/cloud.zsh-theme | |
parent | 5aed0aed4e24a6c4dd574f728f45e39907f30c5a (diff) | |
parent | dafef0b6923c5f3c5e41c7270fedaabc8875444f (diff) | |
download | zsh-462136a9d6188f4928d9a58a9421ebccdca293c9.tar.gz zsh-462136a9d6188f4928d9a58a9421ebccdca293c9.tar.bz2 zsh-462136a9d6188f4928d9a58a9421ebccdca293c9.zip |
Merge pull request #794 from markdrago/cloud_parameter
add ability to set custom prefix for cloud theme
Diffstat (limited to 'themes/cloud.zsh-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%}" |