Browse Source

Merge branch 'master' of git://github.com/cypher/oh-my-zsh into cypher/master

Robby Russell 14 years ago
parent
commit
2289cacecb
2 changed files with 5 additions and 0 deletions
  1. 1 0
      lib/aliases.zsh
  2. 4 0
      themes/cypher.zsh-theme

+ 1 - 0
lib/aliases.zsh

@@ -8,6 +8,7 @@ alias ss='thin --stats "/thin/stats" start'
 alias mr='mate CHANGELOG app config db lib public script spec test'
 alias .='pwd'
 alias ...='cd ../..'
+alias -- -='cd -'
 
 alias _='sudo'
 alias ss='sudo su -'

+ 4 - 0
themes/cypher.zsh-theme

@@ -0,0 +1,4 @@
+# Based on evan's prompt
+# Shows the exit status of the last command if non-zero
+# Uses "#" instead of "»" when running with elevated privileges
+PROMPT="%m %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} "