1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-31 15:44:47 +01:00
Files
oh-my-zsh/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

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.