]> arthur.barton.de Git - ax-zsh.git/commitdiff
New "command-not-found" plugin
authorAlexander Barton <alex@barton.de>
Fri, 22 Feb 2019 21:08:29 +0000 (22:08 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 22 Feb 2019 21:08:29 +0000 (22:08 +0100)
plugins/command-not-found/README.md [new file with mode: 0644]
plugins/command-not-found/command-not-found.zshrc [new file with mode: 0644]

diff --git a/plugins/command-not-found/README.md b/plugins/command-not-found/README.md
new file mode 100644 (file)
index 0000000..d15ff40
--- /dev/null
@@ -0,0 +1,3 @@
+## command-not-found
+
+Enable the *command-not-found* package.
diff --git a/plugins/command-not-found/command-not-found.zshrc b/plugins/command-not-found/command-not-found.zshrc
new file mode 100644 (file)
index 0000000..2d4347b
--- /dev/null
@@ -0,0 +1,7 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# colormake.zshrc: Setup colormake(1)
+
+# Make sure that "command-not-found" is available ...
+[[ -r /etc/zsh_command_not_found ]] || return
+
+source /etc/zsh_command_not_found