2289cacecbf027e71380ab0c349dee6f902e7b65
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge branch 'master' of git://github.com/cypher/oh-my-zsh into cypher/master
Diff
1diff --git a/lib/aliases.zsh b/lib/aliases.zsh
2index cd17781a68635b6b51c9e8117d5f9e25740c85a5..6f6c614f7c77d7ff3b37f340c577892c1470108d 100644
3--- a/lib/aliases.zsh
4+++ b/lib/aliases.zsh
5@@ -8,6 +8,7 @@ alias ss='thin --stats "/thin/stats" start'
6 alias mr='mate CHANGELOG app config db lib public script spec test'
7 alias .='pwd'
8 alias ...='cd ../..'
9+alias -- -='cd -'
10
11 alias _='sudo'
12 alias ss='sudo su -'
13diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme
14new file mode 100644
15index 0000000000000000000000000000000000000000..36633da267d5c80f8f51aae8ed8693a04db65c65
16--- /dev/null
17+++ b/themes/cypher.zsh-theme
18@@ -0,0 +1,4 @@
19+# Based on evan's prompt
20+# Shows the exit status of the last command if non-zero
21+# Uses "#" instead of "»" when running with elevated privileges
22+PROMPT="%m %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} "