Favourite thing in my .bashrc still remains: alias fuck='sudo $(history -p \!\!)'
(repost of a tweet from 2014)
“@PaGrom alias fuck='sudo $(fc -ln -1)' works both with bash and zsh, though :) @liamosaur”
Magnificent app which corrects your previous console command. - nvbn/thefuck