mirror of https://github.com/ohmyzsh/ohmyzsh.git
it breaks commands e.g. sudo -u http echo foobar as http is both a command (httpie) and a user/group (httpd) in my system |
||
---|---|---|
.. | ||
README.md | ||
do_sudo.plugin.zsh |
README.md
do_sudo
plugin
This plugin provides a sudo wrapper that handles alias expansion and avoids
being broken by nocorrect
noglob
from other aliases.
Modified from the script by Wayne Davison.