mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-23 08:43:30 +08:00
feat(command-not-found): add alpine support (#13864)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user