remove command not found handler for z4h
change
commit e4dd733fabc5725fe7c76fd75649a4eba984e9a0
author Alpha Chen <alpha@kejadlen.dev>
date
parent 38c60765
diff --git a/.zshrc b/.zshrc
index 5f92196f..4a4c0b74 100644
--- a/.zshrc
+++ b/.zshrc
@@ -123,4 +123,7 @@ alias tree='tree -a -I .git'
 setopt glob_dots  # no special treatment for file names with a leading dot
 setopt auto_menu  # require an extra TAB press to open the completion menu
 
+# https://github.com/romkatv/zsh4humans/issues/110#issuecomment-846824056
+[[ ! -v functions[command_not_found_handler] ]] || unfunction command_not_found_handler
+
 [ -z "$ZPROF" ] || zprof