From 035c144f71c2070ce5bbdd59f3bf4e5a1345ff4e Mon Sep 17 00:00:00 2001 From: Pablo Lalloni Date: Sun, 22 Sep 2013 17:40:50 -0300 Subject: [PATCH] Moves exit status code to first prompt line --- themes/pilantropy.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/pilantropy.zsh-theme b/themes/pilantropy.zsh-theme index 73a6f5e04..392220209 100644 --- a/themes/pilantropy.zsh-theme +++ b/themes/pilantropy.zsh-theme @@ -49,7 +49,7 @@ function ssh_connection() { psep="%{$reset_color%}$fg_bold[white]:%{$reset_color%}" -PROMPT=$'$(ssh_connection)%{$fg_bold[green]%}%n@%m %{$psep%} $fg_bold[cyan]%*%{$reset_color%} %{$psep%}$(my_git_prompt) %~\n%(?//%{$fg_bold[red]%}%? )%#%{$reset_color%} ' +PROMPT=$'%(?//%{$fg_bold[red]%}= %?\n)$(ssh_connection)%{$fg_bold[green]%}%n@%m %{$psep%} $fg_bold[cyan]%*%{$reset_color%} %{$psep%}$(my_git_prompt) %~\n%#%{$reset_color%} ' ZSH_THEME_PROMPT_RETURNCODE_PREFIX="%{$fg_bold[red]%}" ZSH_THEME_GIT_PROMPT_PREFIX=" $fg_bold[white]‹ %{$fg_bold[yellow]%}"