You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Markus Hofbauer 5292fea2ba
feat(pre-commit): add `prek` support (#13529)
1 week ago
..
README.md
pre-commit.plugin.zsh

README.md

Pre-commit plugin

This plugin adds aliases for common commands of pre-commit. It also supports prek as a drop-in replacement. If prek is available, it will be used; otherwise, pre-commit is used as fallback.

To use this plugin, add it to the plugins array in your zshrc file:

plugins=(... pre-commit)

Aliases

Alias Command Description
prc prek or pre-commit The pre-commit command
prcau prek auto-update or pre-commit autoupdate Update hooks automatically
prcr prek run or pre-commit run The pre-commit run command
prcra prek run --all-files or pre-commit run --all-files Run pre-commit hooks on all files
prcrf prek run --files or pre-commit run --files Run pre-commit hooks on a given list of files