diff options
author | Robby Russell <robby@planetargon.com> | 2009-10-06 05:15:55 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2009-10-06 05:15:55 -0700 |
commit | 2289cacecbf027e71380ab0c349dee6f902e7b65 (patch) | |
tree | 3401451a58ce8dc47ca13d931fb56949f66ee0df | |
parent | 8a8343b0de31f3adcd366fc0b9c113ee009287f0 (diff) | |
parent | 60e99779d5658841026acb84483a7deeb6851246 (diff) | |
download | zsh-2289cacecbf027e71380ab0c349dee6f902e7b65.tar.gz zsh-2289cacecbf027e71380ab0c349dee6f902e7b65.tar.bz2 zsh-2289cacecbf027e71380ab0c349dee6f902e7b65.zip |
Merge branch 'master' of git://github.com/cypher/oh-my-zsh into cypher/master
-rw-r--r-- | lib/aliases.zsh | 1 | ||||
-rw-r--r-- | themes/cypher.zsh-theme | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/aliases.zsh b/lib/aliases.zsh index cd17781a6..6f6c614f7 100644 --- a/lib/aliases.zsh +++ b/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 -' diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme new file mode 100644 index 000000000..36633da26 --- /dev/null +++ b/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} " |