X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/8d4a98e19ec40334ed8e8f2ce4e5a9f094bdbcaf..2120ed8941485ee7c168f2913f23c30a474c429b:/etc/zsh/functions/Prompts/prompt_arrows_setup?ds=sidebyside diff --git a/etc/zsh/functions/Prompts/prompt_arrows_setup b/etc/zsh/functions/Prompts/prompt_arrows_setup index 64590b2..7100420 100644 --- a/etc/zsh/functions/Prompts/prompt_arrows_setup +++ b/etc/zsh/functions/Prompts/prompt_arrows_setup @@ -1,3 +1,5 @@ +#!/bin/zsh + prompt_arrows_help() { cat << EOF prompt arrows @@ -76,7 +78,7 @@ function prompt_arrows_setup() { zstyle ':vcs_info:git*' formats "%c%u%%F{$p}%r/%b%%F{$n}/%%F{$d}%S%%f" zstyle ':vcs_info:git*' actionformats "%%F{$r}(%a)%f %c%u%%F{$p}%r/%b%f/%%F{$d}%S%f" zstyle ':vcs_info:git*' stagedstr "%F{$c}+" - zstyle ':vcs_info:git*' unstagedstr "%F{$r}*" + zstyle ':vcs_info:git*' unstagedstr "%F{$r}!" # add-zsh-hook should have already been autoloaded by promptinit add-zsh-hook precmd prompt_arrows_precmd @@ -108,4 +110,3 @@ function prompt_arrows_preview { } prompt_arrows_setup "$@" -# vim: set et fenc=utf-8 ft=zsh sts=4 sw=4 ts=8 tw=0 :