Source the file /etc/bash_command_not_found, if available, to initialize
the command-not-found Debian package.
&& source /opt/local/etc/bash_completion
# If the command-not-found package is installed, use it
-if [ -x /usr/lib/command-not-found ]; then
+if [ -r /etc/bash_command_not_found ]; then
+ . /etc/bash_command_not_found
+elif [ -x /usr/lib/command-not-found ]; then
function command_not_found_handle {
# Check because c-n-f could've been removed in the meantime
if [ -x /usr/lib/command-not-found ]; then