23a082df129b12b6edf8ea04432b0cb2be0588fd
Author Robby Russell <robby@planetargon.com> Committer Robby Russell <robby@planetargon.com> Date 2011-06-01 07:33 UTC
Message 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.
Diff 1 diff --git a/themes/thomasjbradley.zsh-theme b/themes/thomasjbradley.zsh-theme
2 deleted file mode 100644
3 index 857301d190682ded736a72afe0d88d7ee88a39ea..0000000000000000000000000000000000000000
4 --- a/themes/thomasjbradley.zsh-theme
5 +++ /dev/null
6 @@ -1,29 +0,0 @@
7 -function prompt_char {
8 - git branch >/dev/null 2>/dev/null && echo '±' && return
9 - hg root >/dev/null 2>/dev/null && echo '☿' && return
10 - echo '○'
11 -}
12 -
13 -function virtualenv_info {
14 - [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') '
15 -}
16 -
17 -function hg_prompt_info {
18 - hg prompt --angle-brackets "\
19 -< on %{$fg[magenta]%}<branch>%{$reset_color%}>\
20 -< at %{$fg[yellow]%}<tags|%{$reset_color%}, %{$fg[yellow]%}>%{$reset_color%}>\
21 -%{$fg[green]%}<status|modified|unknown><update>%{$reset_color%}<
22 -patches: <patches|join( → )|pre_applied(%{$fg[yellow]%})|post_applied(%{$reset_color%})|pre_unapplied(%{$fg_bold[black]%})|post_unapplied(%{$reset_color%})>>" 2>/dev/null
23 -}
24 -
25 -PROMPT='
26 -%{$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)
27 -$(virtualenv_info)$(prompt_char) '
28 -
29 -ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}"
30 -ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
31 -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!"
32 -ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
33 -ZSH_THEME_GIT_PROMPT_CLEAN=""
34 -
35 -. ~/bin/dotfiles/zsh/aliases