Skip to content

Commit

Permalink
Revert "Better variable name"
Browse files Browse the repository at this point in the history
This reverts commit 72dcd80.
  • Loading branch information
agkozak committed Aug 1, 2018
1 parent 72dcd80 commit 851ad97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agkozak-zsh-prompt.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ _agkozak_branch_changes() {

git_status="$(LC_ALL=C command git status 2>&1)"

typeset -A status
typeset -A messages

status=(
messages=(
'&*' 'diverged'
'&' 'behind'
'*' 'Your branch is ahead of'
Expand All @@ -172,7 +172,7 @@ _agkozak_branch_changes() {

for k in '&*' '&' '*' '+' 'x' '!' '>' '?'; do
case $git_status in
*${status[$k]}*) symbols+="$k" ;;
*${messages[$k]}*) symbols+="$k" ;;
esac
done

Expand Down

0 comments on commit 851ad97

Please sign in to comment.