From 68bcf536cb4de679c46c39fabab9009c0c34febd Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Mon, 7 Sep 2020 21:51:47 -0700 Subject: [PATCH] Add command-not-found support --- dotfiles/zshrc.d/cnf.zsh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 dotfiles/zshrc.d/cnf.zsh diff --git a/dotfiles/zshrc.d/cnf.zsh b/dotfiles/zshrc.d/cnf.zsh new file mode 100644 index 0000000..155ce94 --- /dev/null +++ b/dotfiles/zshrc.d/cnf.zsh @@ -0,0 +1,4 @@ +# TODO: this is horribly unportable. Fix it. +if test -r /etc/zsh_command_not_found && test -r /var/lib/command-not-found/commands.db ; then + source /etc/zsh_command_not_found +fi