Hi,

I have a philosophical question regarding the function of the command_not_found_handle...

As I understand it, the command_not_found_handle is not triggered on an unknown command in a shell script, run normally.

Dough, it is triggered on an unknown command in a sourced script.

Is there a philosophy behind that?

To my opinion, a sourced script (once debuged) shouldn't contain unknown commands. So the command_not_found_handle is not necessary.

Greetings,

Dominique.

Reply via email to