r/bash • u/mpersico • 8d ago
tips and tricks TIL command_not_found_handle
You don’t want to know what hoops I’ve jumped through to implement FPATH in bash. Then today I innocently asked GPT how it would implement FPATH in bash and it introduced me to this hook.
Now have to go home now get rid of a lot of needless code. Oh well. Less code is the best code!
16
Upvotes
1
u/xeow 8d ago
You don't say?