summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorTyler Cipriani <tyler@tylercipriani.com>2012-09-17 10:19:37 -0600
committerTyler Cipriani <tyler@tylercipriani.com>2012-09-17 10:19:37 -0600
commit11a4c67f340b400a3d9cc9913b4f49d708e01a57 (patch)
tree4302ac4cbc3135afddd5cd0dec837cf1b49ba72a /themes
parent921d2f49ef01acce973980c0aa9c6ffbbd2fbd0b (diff)
downloadzsh-11a4c67f340b400a3d9cc9913b4f49d708e01a57.tar.gz
zsh-11a4c67f340b400a3d9cc9913b4f49d708e01a57.tar.bz2
zsh-11a4c67f340b400a3d9cc9913b4f49d708e01a57.zip
Added junkfood theme
Diffstat (limited to 'themes')
-rw-r--r--themes/junkfood.zsh-theme34
1 files changed, 34 insertions, 0 deletions
diff --git a/themes/junkfood.zsh-theme b/themes/junkfood.zsh-theme
new file mode 100644
index 000000000..a265f29f1
--- /dev/null
+++ b/themes/junkfood.zsh-theme
@@ -0,0 +1,34 @@
+# ------------------------------------------------------------------------
+# Tyler Cipriani
+# oh-my-zsh theme
+# Totally ripped off Dallas theme
+# ------------------------------------------------------------------------
+
+# Grab the current date (%W) and time (%t):
+JUNKFOOD_TIME_="%{$fg_bold[white]%}#%t%{$fg_bold[white]%} – %{$fg_bold[yellow]%}%W%{$fg_bold[white]%} – %{$reset_color%}"
+
+# Grab the current machine name
+JUNKFOOD_MACHINE_="%{$fg_bold[blue]%}%m%{$fg[white]%}:%{$reset_color%}"
+
+# Grab the current username
+JUNKFOOD_CURRENT_USER_="%{$fg_bold[green]%}%n%{$reset_color%}"
+
+# Grab the current filepath, use shortcuts: ~/Desktop
+# Append the current git branch, if in a git repository: ~aw@master
+JUNKFOOD_LOCA_="%{$fg[cyan]%}%~\$(git_prompt_info)%{$reset_color%}"
+
+# For the git prompt, use a white @ and blue text for the branch name
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%}@%{$fg_bold[white]%}"
+
+# Close it all off by resetting the color and styles.
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
+
+# Do nothing if the branch is clean (no changes).
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_bold[green]%}✔"
+
+# Add 3 cyan ✗s if this branch is diiirrrty! Dirty branch!
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_bold[red]%}✗✗✗"
+
+# Put it all together!
+PROMPT="$JUNKFOOD_TIME_$JUNKFOOD_CURRENT_USER_@$JUNKFOOD_MACHINE_$JUNKFOOD_LOCA_
+ "