7a6caf679add884d9dd29958fc756b6215439a3b

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #950 from sonicradish/master

sonicradish - 256 color oh-my-zsh theme [dark/solarized]

Diff

This diff is truncated to protect this page.

 1diff --git a/themes/sonicradish.zsh-theme b/themes/sonicradish.zsh-theme
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..508611830584df897d63d2a81325daaaa0b70a09
 4--- /dev/null
 5+++ b/themes/sonicradish.zsh-theme
 6@@ -0,0 +1,37 @@
 7+#!/usr/bin/env zsh 
 8+#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
 9+
10+setopt promptsubst
11+
12+autoload -U add-zsh-hook
13+ROOT_ICON_COLOR=$FG[111]
14+MACHINE_NAME_COLOR=$FG[208]
15+PROMPT_SUCCESS_COLOR=$FG[103]
16+PROMPT_FAILURE_COLOR=$FG[124]
17+PROMPT_VCS_INFO_COLOR=$FG[242]
18+PROMPT_PROMPT=$FG[208]
19+GIT_DIRTY_COLOR=$FG[124]
20+GIT_CLEAN_COLOR=$FG[148]
21+GIT_PROMPT_INFO=$FG[148]
22+
23+# Hash
24+ROOT_ICON="# "
25+if [[ $EUID -ne 0 ]] ; then
26+	ROOT_ICON=""
27+fi
28+