36f1f4e51595943d0b8e06a9078aa6f627a9734d
- Author
- Matthew Gadd <hello@darkotter.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Add my oh-my-zsh theme
Diff
1diff --git a/themes/dst.zsh-theme b/themes/dst.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..fa0d9cb06bf605df6a54f3db163e52e9c6e31176
4--- /dev/null
5+++ b/themes/dst.zsh-theme
6@@ -0,0 +1,16 @@
7+
8+ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}"
9+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
10+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!"
11+ZSH_THEME_GIT_PROMPT_CLEAN=""
12+
13+function prompt_char {
14+ if [ "$(whoami)" = "root" ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
15+}
16+
17+PROMPT='%(?, ,%{$fg[red]%}FAIL%{$reset_color%}
18+)
19+%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info)
20+%_ $(prompt_char) '
21+
22+RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'