You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will run all commands under `\${rustFormatHook}/bin/*` for `pre-commit` events.
133
139
134
-
The event types can be arbitrary but have to comply with [actual git hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) to be run.
140
+
The event types can be arbitrary but have to comply with [actual git hooks](https://git-scm.com/docs/githooks) to be run.
135
141
136
142
Finally, add the installer (and optionally the uninstall-command) to your dev shell as input programs. You can choose to automatically run the installer at entrance to the shell as a `shellHook` or manually by the user.
137
143
@@ -156,6 +162,7 @@ Nonetheless, this might be of interest for someone and if so thanks for reading.
156
162
157
163
# Appendix
158
164
165
+
Copy the respective functions here to include them into your project or checkout the [repository on GitHub](https://github.com/ysndr/nix-git-hooks) avoid copy-pasting and receive upstream bugfixes.
0 commit comments