diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 16:15:43 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 16:15:43 +1200 |
commit | 9e7d95c4946d850d368ab16dedf77f7dfd6d3b1e (patch) | |
tree | 5f31caad6b071d8b0bde1d0591b5ff7f318bdb6d /sh/shrc.d/which.sh | |
parent | Merge branch 'release/v5.32.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-5.33.0.tar.gz (sig) dotfiles-5.33.0.zip |
Merge branch 'release/v5.33.0'v5.33.0
* release/v5.33.0:
Limit scope of UTC function
Add bang to function declaration so it redefines
Prevent me from using `which`
Diffstat (limited to 'sh/shrc.d/which.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 +} |