From 015a13276465421cd3b2a40920ad97a22b079d8f Mon Sep 17 00:00:00 2001 From: Yiqing Ma Date: Tue, 29 May 2018 20:09:47 +0800 Subject: [PATCH] Update cloud.zsh-theme By changing the $PS1(PROMPT), Now the cloud theme can show the Host and the Path. This change makes it easier then before. --- themes/cloud.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/cloud.zsh-theme b/themes/cloud.zsh-theme index 59a3472b6..4dc0c4b73 100644 --- a/themes/cloud.zsh-theme +++ b/themes/cloud.zsh-theme @@ -2,7 +2,7 @@ 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%}' +PROMPT='%{$fg_bold[cyan]%}$HOST %{$fg_bold[cyan]%}$ZSH_THEME_CLOUD_PREFIX %{$fg_bold[green]%}%~/ %{$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%}"