aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/which.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/which.sh')
-rw-r--r--sh/shrc.d/which.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sh/shrc.d/which.sh b/sh/shrc.d/which.sh
index 9d8c899a..528e5048 100644
--- a/sh/shrc.d/which.sh
+++ b/sh/shrc.d/which.sh
@@ -1,3 +1,5 @@
+# Try to stop me using the non-standard `which`:
+# <http://mywiki.wooledge.org/BadUtils#which>
which() {
printf >&2 'Whichcraft detected! Did you mean: command -v %s\n' "$*"
return 2