X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fthemes%2Fgentoo.zsh-theme;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fthemes%2Fgentoo.zsh-theme;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=b1aef21df41895052ad59994474c4c650e32c939;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/themes/gentoo.zsh-theme b/stow/oh-my-zsh/.oh-my-zsh/themes/gentoo.zsh-theme deleted file mode 100644 index b1aef21..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/themes/gentoo.zsh-theme +++ /dev/null @@ -1,30 +0,0 @@ -autoload -Uz colors && colors - -autoload -Uz vcs_info -zstyle ':vcs_info:*' check-for-changes true -zstyle ':vcs_info:*' unstagedstr '%F{red}*' # display this when there are unstaged changes -zstyle ':vcs_info:*' stagedstr '%F{yellow}+' # display this when there are staged changes -zstyle ':vcs_info:*' actionformats '%F{5}(%F{2}%b%F{3}|%F{1}%a%c%u%m%F{5})%f ' -zstyle ':vcs_info:*' formats '%F{5}(%F{2}%b%c%u%m%F{5})%f ' -zstyle ':vcs_info:svn:*' branchformat '%b' -zstyle ':vcs_info:svn:*' actionformats '%F{5}(%F{2}%b%F{1}:%{3}%i%F{3}|%F{1}%a%c%u%m%F{5})%f ' -zstyle ':vcs_info:svn:*' formats '%F{5}(%F{2}%b%F{1}:%F{3}%i%c%u%m%F{5})%f ' -zstyle ':vcs_info:*' enable git cvs svn -zstyle ':vcs_info:git*+set-message:*' hooks untracked-git - -+vi-untracked-git() { - if command git status --porcelain 2>/dev/null | command grep -q '??'; then - hook_com[misc]='%F{red}?' - else - hook_com[misc]='' - fi -} - -gentoo_precmd() { - vcs_info -} - -autoload -U add-zsh-hook -add-zsh-hook precmd gentoo_precmd - -PROMPT='%(!.%B%F{red}.%B%F{green}%n@)%m %F{blue}%(!.%1~.%~) ${vcs_info_msg_0_}%F{blue}%(!.#.$)%k%b%f '