Add command_not_found completion to zsh

master
nirenjan 2023-06-05 08:55:47 -07:00
parent c6f1885ba6
commit 45044ab177
1 changed files with 9 additions and 0 deletions

View File

@ -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