Bash 里执行命令遇到了权限不够需要 sudo 的时候,只需要执行`sudo !!`就可以把上一个命令用 sudo 执行一遍,不用再每次 ↑ C-a sudo SPC 了。
@super Up, Esc *2 (sudo plugin from ohmyzsh)
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.