about summary refs log tree commit diff
path: root/profile/.profile.d/shellcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'profile/.profile.d/shellcheck.sh')
-rw-r--r--profile/.profile.d/shellcheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/profile/.profile.d/shellcheck.sh b/profile/.profile.d/shellcheck.sh
new file mode 100644
index 0000000..73b12e3
--- /dev/null
+++ b/profile/.profile.d/shellcheck.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if command -v shellcheck >/dev/null 2>&1; then
+	alias sc="shellcheck"
+fi

Consider giving Nix/NixOS a try! <3