apk-based friendly command not found handler
William Pitcock 63f05008b2
Merge pull request #1 from jirutka/patch-1
1 year ago
profiles ash hook: quote $1 1 year ago
.editorconfig add .editorconfig 1 year ago
LICENSE Initial commit 1 year ago
README.md this is markdown duh 1 year ago
command-not-found.sh c-n-f: replace 1>&2 with >&2 1 year ago



The command-not-found package implements friendly package suggestions using the apk package manager when run under bash, zsh or busybox's almquist shell.

It works by installing a shell hook which runs a special POSIX shell script that displays the package suggestions.


  1. Copy command-not-found.sh to /usr/libexec.
  2. Copy the shell profile entries to the appropriate locations. On Alpine derivatives, Almquist profile fragment should be installed as /etc/profile.d/command-not-found.sh.
  3. Log out and log back in, or source /etc/profile.d/command-not-found.sh.