From e4dd733fabc5725fe7c76fd75649a4eba984e9a0 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 15 Jan 2024 17:00:50 -0800 Subject: [PATCH] remove command not found handler for z4h --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 5f92196..4a4c0b7 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