diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 16:12:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 16:12:15 +1200 |
commit | 7e7f16ae7040eb89a4103ca38ca571174ad4be67 (patch) | |
tree | 00468cc63129e7391b82db2eef1591b111aa6cdf /bash | |
parent | Merge branch 'release/v5.32.0' into develop (diff) | |
download | dotfiles-7e7f16ae7040eb89a4103ca38ca571174ad4be67.tar.gz dotfiles-7e7f16ae7040eb89a4103ca38ca571174ad4be67.zip |
Prevent me from using `which`
Diffstat (limited to '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 +} |