From e01882613f4bab91d4cedd5636257b037ee2c494 Mon Sep 17 00:00:00 2001 From: Felds Liscia Date: Sat, 23 Jan 2016 01:13:14 -0200 Subject: [PATCH] change the prompt arrow for a star when user is sudoing --- themes/robbyrussell.zsh-theme | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme index 24e1e8c52..e0464c261 100644 --- a/themes/robbyrussell.zsh-theme +++ b/themes/robbyrussell.zsh-theme @@ -1,4 +1,5 @@ -local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ %s)" +local prompt_symbol="%(#,★,➜)" +local ret_status="%(?:%{$fg_bold[green]%}${prompt_symbol} :%{$fg_bold[red]%}${prompt_symbol} %s)" PROMPT='${ret_status}%{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}' ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$fg[red]%}"