News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by Reimersholme on Monday January 14, 2019 @05:00AM (#18901929)
Sudo re-run last command.

alias hadouken='sudo $(history -p !!)'

Re:Ask HN: Best things in your bash_profile/aliases? by tcbasche on Monday January 14, 2019 @05:37PM (#18907209)
Wouldn't this take longer to type out than `sudo !!` ?