Live data from Hacker News

SL(1): Cure your bad habit of mistyping

github.com

11–20 of 63 posts

Re: SL(1): Cure your bad habit of mistyping

#13
post #7

After you think you are perfect, then there’s suicide linux: https://github.com/tiagoad/suicide-linux “Any time - any time - you type any remotely incorrect command, the interpreter creatively resolves it into rm -rf / and wipes your hard drive.”

[deleted]

Re: SL(1): Cure your bad habit of mistyping

#14
post #7

After you think you are perfect, then there’s suicide linux: https://github.com/tiagoad/suicide-linux “Any time - any time - you type any remotely incorrect command, the interpreter creatively resolves it into rm -rf / and wipes your hard drive.”

This could be neat for production environments in a kind of chaos monkey sense

Re: SL(1): Cure your bad habit of mistyping

#16
post #7

After you think you are perfect, then there’s suicide linux: https://github.com/tiagoad/suicide-linux “Any time - any time - you type any remotely incorrect command, the interpreter creatively resolves it into rm -rf / and wipes your hard drive.”

This could be neat for production environments in a kind of chaos monkey sense

Leaves it a little difficult to tell which bed was shat.

Re: SL(1): Cure your bad habit of mistyping

#18
I so often type "nevermind" instead of "never mind" that I created a shortcut on my computer that replaces the former with the latter. I have met many other people of my generation (early 40s) who also thought it was a single word. I think we were influenced by the popular Nirvana album, which used the single-word spelling.

Re: SL(1): Cure your bad habit of mistyping

#20
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.

Post reply on HN