I want to hook into the handler for command not found
wim@SDFA100461C:~$ thing
No command 'thing' found, did you mean:
Command 'tping' from package 'lam-runtime' (universe)
Command 'thin' from package 'thin' (universe)
thing: command not found
I want to override this behaviour with my own script.
Specifically, I want to check if the command exists in the output of lsvirtualenv -b
, and if so I want to activate that virtualenv.
Where should I start hacking?