diff --git a/.bashrc b/.bashrc
index a0ceaa8b4af47ab837080a278430303e23dee18b..223441aa0e6504bcb4d58b0da2b821b2a7d16364 100644
--- a/.bashrc
+++ b/.bashrc
@@ -112,6 +112,7 @@ alias detectproxy='w3m http://detectportal.firefox.com/success.txt'
 alias color='less --raw-control-chars -p'
 alias pip2='python2 -m pip'
 alias pip3='python3 -m pip'
+# shellcheck disable=SC2139
 alias rc_update="make --directory $HOME --always-make"
 alias gen-ssh-config="rc_update .ssh/config"
 alias bfg='java -jar $HOME/.local/share/bfg/bfg.jar'
@@ -268,7 +269,7 @@ then
     [ -f /etc/bash_completion ] && . /etc/bash_completion
 
     # shellcheck disable=SC1090
-    for sourcefile in $HOME/.bash_completion.d/*
+    for sourcefile in "$HOME"/.bash_completion.d/*
     do
         [ ! -f "$sourcefile" ] || . "$sourcefile"
     done
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 33236a925d3c60632e91c1dc467080ca9490f40b..68d250468b65dccf1022d1da04253f97914689c7 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,4 +18,11 @@ repos:
         exclude: &excluded_shellscripts \.bash_completion\.d/(docker-machine\.bash|fabric-completion.bash|docker-compose)|\.travis/travis\.sh
     -   id: shellcheck
         exclude: *excluded_shellscripts
-        include: .bashrc
+    -   id: shell-lint
+        alias: shell-lint .bashrc
+        files: \.bashrc
+        types: [text]
+    -   id: shellcheck
+        alias: Shellcheck .bashrc
+        files: \.bashrc
+        types: [text]