1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-01-06 02:24:47 +01:00

do_sudo: new sudo alias to handle alias expansion

This commit is contained in:
Frederick Zhang
2019-09-21 16:14:31 +10:00
parent 3c209b00d6
commit d05feb1f8e
2 changed files with 33 additions and 0 deletions

View 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).