From 46ca7f1d06bb85931877d2e43d00146e19664d45 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 10 Jun 2017 20:51:36 +1200 Subject: Unset command_not_found_handle in Bash startup --- bash/bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bash') 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)) -- cgit v1.2.3