From 45044ab177d530c1e1486d6c487cfdff633f83b1 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Mon, 5 Jun 2023 08:55:47 -0700 Subject: [PATCH] Add command_not_found completion to zsh --- zsh/completion.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zsh/completion.zsh b/zsh/completion.zsh index 3865142..dc1cf66 100644 --- a/zsh/completion.zsh +++ b/zsh/completion.zsh @@ -5,3 +5,12 @@ zstyle :compinstall filename '/home/nkrishnan/.zshrc' autoload -Uz compinit compinit + +####################################################################### +# ZSH Command suggestions +####################################################################### +# This is only valid on Ubuntu, I haven't found a Mac OS equivalent +if [[ -e /etc/zsh_command_not_found ]] +then + source /etc/zsh_command_not_found +fi