Hacker News new | past | comments | ask | show | jobs | submit login

I'd like it more if it just expanded to the 'correct' command and required another return to actually run:

$ apt-get install foo<return> $ fuck<return> -> sudo apt-get install foo<return>

zsh does something similar for history commands, I think:

$ echo foo foo $ echo !$<return> -> $ echo foo




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: