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