76feafc72cdcd649d9a5673c28abf92805f96c6d
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/fasd/fasd.plugin.zsh b/plugins/fasd/fasd.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..d42584f1a49b6236f2104fd8e54837e678a10a01
4--- /dev/null
5+++ b/plugins/fasd/fasd.plugin.zsh
6@@ -0,0 +1,6 @@
7+if [ $commands[fasd] ]; then # check if fasd is installed
8+ eval "$(fasd --init auto)"
9+ alias v='f -e vim'
10+ alias o='a -e open'
11+fi
12+
13diff --git a/themes/fino-time.zsh-theme b/themes/fino-time.zsh-theme
14new file mode 100644
15index 0000000000000000000000000000000000000000..22c7a09811e2efeb6b68dc1441f411f46c3c84c8
16--- /dev/null
17+++ b/themes/fino-time.zsh-theme
18@@ -0,0 +1,39 @@
19+# Fino-time theme by Aexander Berezovsky (http://berezovsky.me) based on Fino by Max Masnick (http://max.masnick.me)
20+
21+# Use with a dark background and 256-color terminal!
22+# Meant for people with RVM and git. Tested only on OS X 10.7.
23+
24+# You can set your computer name in the ~/.box-name file if you want.
25+
26+# Borrowing shamelessly from these oh-my-zsh themes:
27+# bira
28+# robbyrussell
29+#
30+# Also borrowing from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
31+
32+function virtualenv_info {
33+ [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
34+}
35+
36+function prompt_char {
37+ git branch >/dev/null 2>/dev/null && echo '±' && return
38+ echo '○'
39+}
40+
41+function box_name {
42+ [ -f ~/.box-name ] && cat ~/.box-name || hostname -s
43+}
44+
45+
46+local rvm_ruby='‹$(rvm-prompt i v g)›%{$reset_color%}'
47+local current_dir='${PWD/#$HOME/~}'
48+local git_info='$(git_prompt_info)'
49+
50+