|
|
|
|
|
by agentwiggles
1440 days ago
|
|
I have this in my `.zshrc` on my personal machine. I get a kick out of it: ``` function command_not_found_handler() { figlet "lol, $1" } ``` (I think the bash equivalent is `command_not_found_handle`). This overrides the function that usually prints the `zsh: command not found: foo` message, and instead, mocks you, by printing "lol, foo" (but in big ol' figlet letters). SL is in a similar, but admittedly much more elaborate, spirit. |
|
[0] https://github.com/sorin-ionescu/prezto