Hi Chet,
I see. But how would I avoid this? Using Fedora 21 here and my command_not_found_handle() is
command_not_found_handle ()
{
local runcnf=1;
local retval=127;
[[ $- =~ i ]] || runcnf=0;
[ ! -S /var/run/dbus/system_bus_socket ] && runcnf=0;
[ ! -x /usr/libexec/packagekitd ] && runcnf=0;
if [ $runcnf -eq 1 ]; then
/usr/libexec/pk-command-not-found "$@";
retval=$?;
else
echo "bash: $1: command not found";
fi;
return $retval
}
Would I then use kill -ttin %1 for example to remove the specified job from the jobs list? Is this the behaviour of command_not_found_handle function?