mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
fix(git-commit-template): modify the keyword perf
This commit is contained in:
parent
80ec398a5c
commit
304a75c652
@ -15,7 +15,7 @@ git_commit_template() {
|
|||||||
|
|
||||||
# Valid types
|
# Valid types
|
||||||
TYPES=("feat" "fix" "docs" "style" "refactor"
|
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")
|
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"
|
the code (white-space, formatting, missing semi-colons, etc).\n"
|
||||||
printf "${CYAN}5. refactor${RESET} - A Code change that neither fixes a bug \
|
printf "${CYAN}5. refactor${RESET} - A Code change that neither fixes a bug \
|
||||||
nor adds a feature.\n"
|
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 \
|
printf "${CYAN}7. test${RESET} - Adding missing tests or correcting existing \
|
||||||
tests.\n"
|
tests.\n"
|
||||||
printf "${CYAN}8. build${RESET} - Changes that effect the build system or \
|
printf "${CYAN}8. build${RESET} - Changes that effect the build system or \
|
||||||
|
Loading…
Reference in New Issue
Block a user