diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-07-06 18:09:04 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-07-06 18:09:04 +0800 |
| commit | 18666e3475d3a4180d9becc03cb105fcaa6c6801 (patch) | |
| tree | e80c0968dc91258afdbe5337c1478efd2f43a006 /dot-oh-my-zsh/plugins/pre-commit | |
| parent | bb533a817ed9449942905e0c5c8164f4474fbf0c (diff) | |
added submodule
Diffstat (limited to 'dot-oh-my-zsh/plugins/pre-commit')
| m--------- | dot-oh-my-zsh | 0 | ||||
| -rw-r--r-- | dot-oh-my-zsh/plugins/pre-commit/README.md | 19 | ||||
| -rw-r--r-- | dot-oh-my-zsh/plugins/pre-commit/pre-commit.plugin.zsh | 8 |
3 files changed, 0 insertions, 27 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 +Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce diff --git a/dot-oh-my-zsh/plugins/pre-commit/README.md b/dot-oh-my-zsh/plugins/pre-commit/README.md deleted file mode 100644 index e6d80d36..00000000 --- a/dot-oh-my-zsh/plugins/pre-commit/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# Pre-commit plugin - -This plugin adds aliases for common commands of [pre-commit](https://pre-commit.com/). - -To use this plugin, add it to the plugins array in your zshrc file: - -```zsh -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 | diff --git a/dot-oh-my-zsh/plugins/pre-commit/pre-commit.plugin.zsh b/dot-oh-my-zsh/plugins/pre-commit/pre-commit.plugin.zsh deleted file mode 100644 index c3d0c629..00000000 --- a/dot-oh-my-zsh/plugins/pre-commit/pre-commit.plugin.zsh +++ /dev/null @@ -1,8 +0,0 @@ -# Aliases for pre-commit -alias prc='pre-commit' - -alias prcau='pre-commit autoupdate' - -alias prcr='pre-commit run' -alias prcra='pre-commit run --all-files' -alias prcrf='pre-commit run --files' |
