[prompt] steeef: '#' prompt for privileged users
Use `%(!.#.$)` which will display `$` for normal users and `#` for privileged users Closes #65
This commit is contained in:
parent
5f7a75a969
commit
6b2dad4bd1
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ prompt_steeef_precmd() {
|
||||||
|
|
||||||
PROMPT='
|
PROMPT='
|
||||||
%{$purple%}%n${${reset_color}%} at %{$orange%}%m${${reset_color}%} in %{$limegreen%}%~${${reset_color}%} $vcs_info_msg_0_$(virtualenv_info)%{${reset_color}%}
|
%{$purple%}%n${${reset_color}%} at %{$orange%}%m${${reset_color}%} in %{$limegreen%}%~${${reset_color}%} $vcs_info_msg_0_$(virtualenv_info)%{${reset_color}%}
|
||||||
$ '
|
%(!.#.$) '
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt_steeef_setup() {
|
prompt_steeef_setup() {
|
||||||
|
|
Loading…
Reference in a new issue