This repository has been archived on 2024-06-19. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-old/dot_oh-my-zsh/plugins/pre-commit
2024-03-03 15:33:59 +01:00
..
pre-commit.plugin.zsh Added basic nvim config, replaced vim with nvim 2024-03-03 15:33:59 +01:00
README.md Added basic nvim config, replaced vim with nvim 2024-03-03 15:33:59 +01:00

Pre-commit plugin

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)

Aliases

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