Markus Hofbauer 8ef9abc962 feat(pre-commit) add aliases (#10707) | пре 2 година | |
---|---|---|
.. | ||
README.md | пре 2 година | |
pre-commit.plugin.zsh | пре 2 година |
This plugin adds aliases for common commands of pre-commit.
To use this plugin, add it to the plugins array in your zshrc file:
plugins=(... pre-commit)
Alias | Command | Description |
---|---|---|
prc | pre-commit |
The pre-commit command |
prcau | pre-commit autoupdate |
Update hooks automatically |
prcr | pre-commit run |
The pre-commit run command |
prcra | pre-commit run --all-files |
Run pre-commit hooks on all files |
prcrf | pre-commit run --files |
Run pre-commit hooks on a given list of files |