1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-27 16:20:07 +00:00
ohmyzsh/plugins/do_sudo
Frederick Zhang 557234e352
do not resolve command to absolute path
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
2021-10-01 00:30:30 +10:00
..
do_sudo.plugin.zsh do not resolve command to absolute path 2021-10-01 00:30:30 +10:00
README.md do_sudo: new sudo alias to handle alias expansion 2021-10-01 00:30:26 +10:00

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.