Re:Sl: a mirror version of ls
by ben509 on Friday March 30, 2018 @11:24AM
(#16716836)
Or make history work for you:
Bash will let you then confirm the actual command it's going to run:
[ Parent
| on HN ]
I use zsh and I don't know what shopt is. That's two commands and !! doesn't work in aliases.
In zsh it is called setopt. You don't need to make an alias, you would put this in your .bashrc
So why not just type 'sudo !!' ?