comma/etc/command-not-found.sh

13 lines
212 B
Bash
Executable file

#!/bin/sh
# bash command not found handler
command_not_found_handle() {
comma --ask "$@"
return $?
}
# zsh compatibility
command_not_found_handler () {
command_not_found_handle "$@"
return $?
}