aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-10 20:51:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-10 20:51:36 +1200
commit46ca7f1d06bb85931877d2e43d00146e19664d45 (patch)
treeb4a6290278ef6db7decdfc3c558ea8c062da7351 /bash/bashrc
parentRefactor urlh(1df) awk a bit (diff)
downloaddotfiles-46ca7f1d06bb85931877d2e43d00146e19664d45.tar.gz
dotfiles-46ca7f1d06bb85931877d2e43d00146e19664d45.zip
Unset command_not_found_handle in Bash startup
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 166fc501..7748b864 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -27,6 +27,9 @@ unalias -a
((10#${BASH_VERSINFO[1]%%[!0-9]*} < 5)) &&
return
+# Clear away command_not_found_handle if a system bashrc file set it up
+unset -f command_not_found_handle
+
# Keep around 32K lines of history in file
HISTFILESIZE=$((1 << 15))