Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to complete alias after alias of sudo?



Bart Schaefer wrote on Mon, 05 Jun 2017 07:27 -0700:
> On Jun 5,  9:38am, Peter Stephenson wrote:
> } Subject: Re: How to complete alias after alias of sudo?
> }
> } On Fri, 02 Jun 2017 18:26:01 +0000
> } Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> } > However, we could add a layer of indirection so people can fill this in
> } > their own configs:
> } > 
> } > ... and document that _sudo_aliases is intended to be
> } > overwritten/redefined by a user's .zshrc file.
> } 
> } That seems reasonable; the only question is what it defaults to doing,
> } which isn't a big issue and the current behaviour ought to be fine.
> 
> Why do this with a function override rather than a zstyle?

Good point.



Messages sorted by: Reverse Date, Date, Thread, Author