Merge pull request #1317 from thcipriani/junkfood_theme
Added junkfood theme
Diff
1diff --git a/themes/junkfood.zsh-theme b/themes/junkfood.zsh-theme
2new file mode 100644
3index 0000000000000000000000000000000000000000..57b4070dc8e0d87cc428f432158e90d13e61806a
4--- /dev/null
5+++ b/themes/junkfood.zsh-theme
6@@ -0,0 +1,34 @@
7+# ------------------------------------------------------------------------
8+# Tyler Cipriani
9+# oh-my-zsh theme
10+# Totally ripped off Dallas theme
11+# ------------------------------------------------------------------------
12+
13+# Grab the current date (%W) and time (%t):
14+JUNKFOOD_TIME_="%{$fg_bold[red]%}#%{$fg_bold[white]%}( %{$fg_bold[yellow]%}%W%{$reset_color%}@%{$fg_bold[white]%}%t )( %{$reset_color%}"
15+
16+# Grab the current machine name
17+JUNKFOOD_MACHINE_="%{$fg_bold[blue]%}%m%{$fg[white]%} ):%{$reset_color%}"
18+
19+# Grab the current username
20+JUNKFOOD_CURRENT_USER_="%{$fg_bold[green]%}%n%{$reset_color%}"
21+
22+# Grab the current filepath, use shortcuts: ~/Desktop
23+# Append the current git branch, if in a git repository: ~aw@master
24+JUNKFOOD_LOCA_="%{$fg[cyan]%}%~\$(git_prompt_info)%{$reset_color%}"
25+
26+# For the git prompt, use a white @ and blue text for the branch name
27+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%}@%{$fg_bold[white]%}"
28+
29+# Close it all off by resetting the color and styles.
30+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
31+
32+# Do nothing if the branch is clean (no changes).
33+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}✔"
34+
35+# Add 3 cyan ✗s if this branch is diiirrrty! Dirty branch!
36+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}✗✗✗"
37+
38+# Put it all together!
39+PROMPT="$JUNKFOOD_TIME_$JUNKFOOD_CURRENT_USER_@$JUNKFOOD_MACHINE_$JUNKFOOD_LOCA_
40+ "