Browse code

Revert "Added my zsh theme file, heavily based on sjl's" as it relies on a dotfile to be in ~/bin.

This reverts commit f2f34f5404e8ab674a0e345a709783b6c56a3b72.

Robby Russell authored on 01/06/2011 at 07:33:12
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,29 +0,0 @@
1
-function prompt_char {
2
-    git branch >/dev/null 2>/dev/null && echo '±' && return
3
-    hg root >/dev/null 2>/dev/null && echo '☿' && return
4
-    echo '○'
5
-}
6
-
7
-function virtualenv_info {
8
-    [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
9
-}
10
-
11
-function hg_prompt_info {
12
-    hg prompt --angle-brackets "\
13
-< on %{$fg[magenta]%}<branch>%{$reset_color%}>\
14
-< at %{$fg[yellow]%}<tags|%{$reset_color%}, %{$fg[yellow]%}>%{$reset_color%}>\
15
-%{$fg[green]%}<status|modified|unknown><update>%{$reset_color%}<
16
-patches: <patches|join( → )|pre_applied(%{$fg[yellow]%})|post_applied(%{$reset_color%})|pre_unapplied(%{$fg_bold[black]%})|post_unapplied(%{$reset_color%})>>" 2>/dev/null
17
-}
18
-
19
-PROMPT='
20
-%{$fg[magenta]%}%n%{$reset_color%} at %{$fg[yellow]%}%m%{$reset_color%} in %{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(hg_prompt_info)$(git_prompt_info)
21
-$(virtualenv_info)$(prompt_char) '
22
-
23
-ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
24
-ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
25
-ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
26
-ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
27
-ZSH_THEME_GIT_PROMPT_CLEAN=""
28
-
29
-. ~/bin/dotfiles/zsh/aliases