diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index baa5aa5a85afc2e0dcaf3c25cc71d311b1d73fb2..6a5880e0a57e488a9ccbc9c484be32f009ee8b4d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -5,11 +5,8 @@
     -   id: check-added-large-files
     -   id: check-yaml
     -   id: check-merge-conflict
-- repo: local
+- repo: ./
+  sha: master
   hooks:
   - id: shell-lint
-    name: Lint shell scripts
-    description: Run /bin/sh -en against shell scripts.
-    language: script
-    entry: shell-lint
     files: shell-lint