From c90737a69eceb66549f5ffb1d876a99835b2c77c Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Sat, 5 Jun 2021 18:54:34 -0500 Subject: [PATCH] Bashrc.wiki: Added Pkgfile as command-not-found section --- Bashrc.wiki | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Bashrc.wiki b/Bashrc.wiki index 01d1a68..ca47642 100644 --- a/Bashrc.wiki +++ b/Bashrc.wiki @@ -94,6 +94,14 @@ Most of these are simple creature comforts and are commented with sufficient exp ---- +== Pkgfile as `command_not_found_handle()` == + +https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc.d/pkgfile.bash + +This sets up `bash`'s `command_not_found_handle()` functionality so that when a command cannot be found in `PATH`, it will use `pkgfile` to check for that command in the `pacman` sync databases. Another mechanism should be used to keep `pkgfile`'s databases up to date. + +---- + ==Colored man Pages== https://git.thurstylark.com/vcsh/bashrc.git/tree/.bashrc.d/colored-man-pages.bash