mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-19 02:02:32 +01:00
do_sudo: new sudo alias to handle alias expansion
This commit is contained in:
parent
3c209b00d6
commit
d05feb1f8e
2 changed files with 33 additions and 0 deletions
6
plugins/do_sudo/README.md
Normal file
6
plugins/do_sudo/README.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# `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](https://www.zsh.org/mla/users/2008/msg01229.html).
|
||||
Loading…
Add table
Add a link
Reference in a new issue