feat(command-not-found): add alpine support (#13864)

This commit is contained in:
Session小胡 authored and GitHub committed 2026-08-05 12:10:52 +02:00
1 parent be0dfaad6b
commit a8afe14b93
2 files changed
+8

No files matched your search

@@ -74,3 +74,10 @@ if [[ -x /usr/bin/command-not-found ]]; then
/usr/bin/command-not-found "$1"
}
fi
# Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/command-not-found/APKBUILD
if [[ -x /usr/libexec/command-not-found ]]; then
command_not_found_handler() {
/usr/libexec/command-not-found "$1"
}
fi