Configuration files for my GNU/Linux installation.
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.
dotfiles/oh-my-zsh/.oh-my-zsh/custom/themes/minimal.zsh-theme

9 lines
309 B

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%}'
ZSH_THEME_GIT_PROMPT_PREFIX=" (%{$reset_color%}%{$fg_bold[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%{$fg_bold[white]%})"