diff options
author | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
---|---|---|
committer | Adam Lindberg <eproxus@gmail.com> | 2011-06-07 15:31:26 +0200 |
commit | 86b8827d27a72471eed0e39f3681b4d533811082 (patch) | |
tree | cdd5b236aa57f0402e147c11fcc1bc8d3b136fe0 /themes/thomasjbradley.zsh-theme | |
parent | 70cb607b7bee04ceef74d6f7aa80589e009e4c78 (diff) | |
parent | ed990f61ff66a5c409ef2d8a444820cecf098188 (diff) | |
download | zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.gz zsh-86b8827d27a72471eed0e39f3681b4d533811082.tar.bz2 zsh-86b8827d27a72471eed0e39f3681b4d533811082.zip |
Merge remote-tracking branch 'robbyrussell/master'
Diffstat (limited to 'themes/thomasjbradley.zsh-theme')
-rw-r--r-- | themes/thomasjbradley.zsh-theme | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/themes/thomasjbradley.zsh-theme b/themes/thomasjbradley.zsh-theme deleted file mode 100644 index 857301d19..000000000 --- a/themes/thomasjbradley.zsh-theme +++ /dev/null @@ -1,29 +0,0 @@ -function prompt_char { - git branch >/dev/null 2>/dev/null && echo '±' && return - hg root >/dev/null 2>/dev/null && echo '☿' && return - echo '○' -} - -function virtualenv_info { - [ $VIRTUAL_ENV ] && echo '('`basename $VIRTUAL_ENV`') ' -} - -function hg_prompt_info { - hg prompt --angle-brackets "\ -< on %{$fg[magenta]%}<branch>%{$reset_color%}>\ -< at %{$fg[yellow]%}<tags|%{$reset_color%}, %{$fg[yellow]%}>%{$reset_color%}>\ -%{$fg[green]%}<status|modified|unknown><update>%{$reset_color%}< -patches: <patches|join( → )|pre_applied(%{$fg[yellow]%})|post_applied(%{$reset_color%})|pre_unapplied(%{$fg_bold[black]%})|post_unapplied(%{$reset_color%})>>" 2>/dev/null -} - -PROMPT=' -%{$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) -$(virtualenv_info)$(prompt_char) ' - -ZSH_THEME_GIT_PROMPT_PREFIX=" on %{$fg[magenta]%}" -ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}!" -ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?" -ZSH_THEME_GIT_PROMPT_CLEAN="" - -. ~/bin/dotfiles/zsh/aliases |