Parent directory

dst.zsh-theme

510 bytes
 1
 2ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}"
 3ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
 4ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!"
 5ZSH_THEME_GIT_PROMPT_CLEAN=""
 6
 7function prompt_char {
 8	if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
 9}
10
11PROMPT='%(?, ,%{$fg[red]%}FAIL%{$reset_color%}
12)
13%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info)
14$(prompt_char) '
15
16RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'