From 6b2dad4bd15b6e0d527acf8526acbe8d80e0a90f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 23 Jul 2016 23:01:14 -0400 Subject: [PATCH] [prompt] steeef: '#' prompt for privileged users Use `%(!.#.$)` which will display `$` for normal users and `#` for privileged users Closes #65 --- 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() {