3 ms·I use zsh and I don't know what shopt is. That's two commands and !! doesn't work in aliases.by mulmen 9y agoI use zsh and I don't know what shopt is. That's two commands and !! doesn't work in aliases.sethrin 9y agoSo why not just type 'sudo !!' ?mulmen 9y agoBecause it isn't as much fun.rejschaap 9y agoIn zsh it is called setopt. You don't need to make an alias, you would put this in your .bashrc