$ 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
$ 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