Comment

Comment by agentwiggles

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.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton