From d3956491130a99380ef2076dd1f16688a4f54ee0 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 23 Jul 2016 23:01:14 -0400 Subject: [PATCH] Different prompt for privileged users Use `%(!.#.$)` which will display `$` for normal users and `#` for privileged users --- modules/prompt/themes/steeef.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prompt/themes/steeef.zsh-theme b/modules/prompt/themes/steeef.zsh-theme index 5aea7b5..8799bd0 100644 --- a/modules/prompt/themes/steeef.zsh-theme +++ b/modules/prompt/themes/steeef.zsh-theme @@ -43,7 +43,7 @@ prompt_steeef_precmd() { PROMPT=' %{$purple%}%n${${reset_color}%} at %{$orange%}%m${${reset_color}%} in %{$limegreen%}%~${${reset_color}%} $vcs_info_msg_0_$(virtualenv_info)%{${reset_color}%} -$ ' +%(!.#.$) ' } prompt_steeef_setup() {