aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/which.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-29 10:04:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-29 10:06:11 +1200
commit9c3f0f26a74bb77e8ba3522beb0635e24e6549b3 (patch)
tree0127d1edd0b23c6feb185fe732f7db0a02d09df5 /sh/shrc.d/which.sh
parentMove x() shortcut to X11 directory and target (diff)
downloaddotfiles-9c3f0f26a74bb77e8ba3522beb0635e24e6549b3.tar.gz
dotfiles-9c3f0f26a74bb77e8ba3522beb0635e24e6549b3.zip
Tidy up comments for POSIX interactive scripts
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