Configuration files for my GNU/Linux installation.
 
 
 
 
 
 
dotfiles/oh-my-zsh/.oh-my-zsh/custom/themes/minimal.zsh-theme

8 lines
307 B

function prompt_char {
if [ $UID -eq 0 ]; then echo "#"; else echo $; fi
}
PROMPT='%{$reset_color%}%{$fg_bold[gray]%}%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[gray]%})"