Skip to content

Commit

Permalink
Update git-prompt-help.sh
Browse files Browse the repository at this point in the history
Initialized local x to 0 (in case it is already set).
  • Loading branch information
gcbartlett committed May 12, 2016
1 parent 21e7426 commit 1b59e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-prompt-help.sh
Expand Up @@ -65,7 +65,7 @@ git_prompt_color_samples() {
echo -e "${color}$1${ResetColor}" | sed 's/\\\]//g' | sed 's/\\\[//g'
}

local x
local x=0
while (( x < 8 )) ; do
showColor ${ColorNames[x]}
showColor "Dim${ColorNames[x]}"
Expand Down

0 comments on commit 1b59e1e

Please sign in to comment.