mirror of https://github.com/E-Almqvist/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
241 B
9 lines
241 B
4 years ago
|
function prompt_char {
|
||
|
if [ $UID -eq 0 ]; then echo "#"; else echo $; fi
|
||
|
}
|
||
|
|
||
4 years ago
|
PROMPT='%{$reset_color%}%{$fg_bold[white]%}%c $(prompt_char)$(git_prompt_info)> %{$reset_color%}'
|
||
4 years ago
|
|
||
|
ZSH_THEME_GIT_PROMPT_PREFIX=" ("
|
||
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|