Zsh Pre Commit Autocomplete
No description available
Install / Use
npx skills add jason810496/zsh-pre-commit-autocompleteInstalls into whichever agent you are using.
README
Since
pre-commitdoes not support autocompletion (reference), and theoh-my-zshpre-commit plugin only provides aliases for common commands. <br> This plugin enhances usability by offering autocompletion for theruncommand, listing all available hooks.
Features
- Autocompletion for the
pre-commit runcommand. - Lists all hooks available in the
.pre-commit-config.yamlfile.
Usage
<a href="https://www.youtube.com/watch?v=sicuLWWfRAo&ab_channel=ZhuDev" target="_blank"> <img src="https://raw.githubusercontent.com/jason810496/zsh-pre-commit-autocomplete/refs/heads/main/assets/zsh-pre-commit-autocomplete-demo.png" alt="demo" height="550" /> </a>This demo uses Apache Airflow as an example.
Installation
Oh My Zsh
-
Clone the repository into the custom plugins directory:
git clone --depth=1 https://github.com/jason810496/zsh-pre-commit-autocomplete ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-pre-commit-autocomplete -
Add the plugin to the list of plugins to load in
~/.zshrc:plugins=( # other plugins... zsh-pre-commit-autocomplete ) -
Restart your terminal.
Manual Installation
-
Clone the repository into a directory of your choice:
git clone --depth=1 https://github.com/jason810496/zsh-pre-commit-autocomplete ~/.zsh/zsh-pre-commit-autocomplete -
Add the following line to your
~/.zshrc:source ~/.zsh/zsh-pre-commit-autocomplete/zsh-pre-commit-autocomplete.zsh -
Restart your terminal.
License
This project is licensed under the MIT License.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
