Skip to content

Commit def903b

Browse files
committed
Merge pull request #251 from gcbartlett/master
Fix repeated 'git_prompt_color_samples' bug
2 parents ba19c41 + 1b59e1e commit def903b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-prompt-help.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ git_prompt_color_samples() {
6565
echo -e "${color}$1${ResetColor}" | sed 's/\\\]//g' | sed 's/\\\[//g'
6666
}
6767

68+
local x=0
6869
while (( x < 8 )) ; do
6970
showColor ${ColorNames[x]}
7071
showColor "Dim${ColorNames[x]}"

0 commit comments

Comments
 (0)