diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/shrc.d/which.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/shrc.d/which.sh b/sh/shrc.d/which.sh new file mode 100644 index 00000000..9d8c899a --- /dev/null +++ b/sh/shrc.d/which.sh @@ -0,0 +1,4 @@ +which() { + printf >&2 'Whichcraft detected! Did you mean: command -v %s\n' "$*" + return 2 +} |