mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-14 00:48:39 +02:00
feat(cnf): Added support for SUSE-derived operation systems (ZYpp) to CNF plugin (#10508)
* Added support for SUSE and derivatives for command-not-found plugin * Updated command-not-found documentation to list support for SUSE and derivatives
This commit is contained in:
@ -60,3 +60,10 @@ if [[ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]]; th
|
||||
/data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
|
||||
}
|
||||
fi
|
||||
|
||||
# SUSE and derivates: https://www.unix.com/man-page/suse/1/command-not-found/
|
||||
if [[ -x /usr/bin/command-not-found ]]; then
|
||||
command_not_found_handler() {
|
||||
/usr/bin/command-not-found "$1"
|
||||
}
|
||||
fi
|
||||
|
Reference in New Issue
Block a user