757fa3314d1c041ab715dbda838f3e9b2ff9ce17

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

Message

Merge pull request #505 from masnick/master

Add new theme (fino.zsh-theme)

Diff

This diff is truncated to protect this page.

 1diff --git a/themes/fino.zsh-theme b/themes/fino.zsh-theme
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..17cf597086c2cd501f928ddaf6b287ab6a1687cb
 4--- /dev/null
 5+++ b/themes/fino.zsh-theme
 6@@ -0,0 +1,39 @@
 7+# Fino theme by Max Masnick (http://max.masnick.me)
 8+
 9+# Use with a dark background and 256-color terminal!
10+# Meant for people with RVM and git. Tested only on OS X 10.7.
11+
12+# You can set your computer name in the ~/.box-name file if you want.
13+
14+# Borrowing shamelessly from these oh-my-zsh themes:
15+#   bira
16+#   robbyrussell
17+#
18+# Also borrowing from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
19+
20+function virtualenv_info {
21+    [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
22+}
23+
24+function prompt_char {
25+    git branch >/dev/null 2>/dev/null && echo '±' && return
26+    echo '○'
27+}
28+
29+function box_name {
30+    [ -f ~/.box-name ] && cat ~/.box-name || hostname -s
31+}
32+
33+
34+local rvm_ruby='‹$(rvm-prompt i v g)›%{$reset_color%}'
35+local current_dir='${PWD/#$HOME/~}'
36+local git_info='$(git_prompt_info)'
37+
38+