From 304a75c652181bf83f6799313ad0b0533e1d4d41 Mon Sep 17 00:00:00 2001 From: Ghasem Shirdel Date: Fri, 11 Feb 2022 10:22:50 +0330 Subject: [PATCH] fix(git-commit-template): modify the keyword perf --- plugins/git-commit-template/git-commit-template.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/git-commit-template/git-commit-template.plugin.zsh b/plugins/git-commit-template/git-commit-template.plugin.zsh index 95fef2dae..95fe73ead 100644 --- a/plugins/git-commit-template/git-commit-template.plugin.zsh +++ b/plugins/git-commit-template/git-commit-template.plugin.zsh @@ -15,7 +15,7 @@ git_commit_template() { # Valid types TYPES=("feat" "fix" "docs" "style" "refactor" - "pref" "test" "build" "ci" "chore" "revert") + "perf" "test" "build" "ci" "chore" "revert") NUMBERS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11") @@ -29,7 +29,7 @@ git_commit_template() { the code (white-space, formatting, missing semi-colons, etc).\n" printf "${CYAN}5. refactor${RESET} - A Code change that neither fixes a bug \ nor adds a feature.\n" - printf "${CYAN}6. pref${RESET} - A code change that improves performance.\n" + printf "${CYAN}6. perf${RESET} - A code change that improves performance.\n" printf "${CYAN}7. test${RESET} - Adding missing tests or correcting existing \ tests.\n" printf "${CYAN}8. build${RESET} - Changes that effect the build system or \