Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to complete alias after alias of sudo?
- X-seq: zsh-users 22728
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: How to complete alias after alias of sudo?
- Date: Mon, 05 Jun 2017 22:56:14 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=EruS0z bKr4ZZyWMwTD9ldPqYurn5j5yjlDVkRPBPkiI=; b=RexvyXAu5HY2Iit4k3xUA7 r32a3pyclL+COdnH4bGTWmdLV2c0u0gW3BS88aWGxx3uUH2Gw+T4aIeMBMfcR7CB lnD6Kf38crGo+F1fBe2qKUHzXUl/UErZ33AdtsPFMAEB01b+McQJj1DcxtWiTjx2 Ffl8NdxQ2KzI6H8gDQGfghwYjCY8YEXRYT121kgen/bNDF6VN2EU7aIzd9jP51yO 43zs+X1As7oHwJDbrcNSLO1xk/Sf61FGE+xA0iRmz5vTxGeHzFG4qd+/oWM5NOtX XakU2nil8QsCei7rf/7/3ztLFbpIXexdONYQw48PWSmuK7FwOb13TGJBbiZ2MHeQ ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=EruS0z bKr4ZZyWMwTD9ldPqYurn5j5yjlDVkRPBPkiI=; b=kGkgpJ+N73Fy12T75TwWrG e4YbuCZn2CgpJN+FHSkFEnGZHNr/q/IvYmw0JTGxK8kvaaGcu/+twCwUF5fNrVV2 F1fsgQ3ek9gUj9GrW6wapjuy+lh0tc3I7n4hAn6l0rRLcag5zrNzYjbm9oPogsrZ MXLRdpH8Xc8NxJ6CnRLAUj2s+SnDHfyJkcOqHpfZ3CadzAEndZZklBQKf2+rPP87 S2XnzubOnGvynbuaausAMD/za8MkI7iB/crghuP1C7GuSWFuU7NfnJ4UozNMbpjU pOfBlr0LotrXy5HK3ZIwAu8yw42O7Stdwm2siIKKvR79QnrfhWUdrUxLe5AgGdIg ==
- In-reply-to: <170605072750.ZM31937@torch.brasslantern.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CGME20170531082709epcas5p4cb74739bb440049fd96ca18a08489bbd@epcas5p4.samsung.com> <20170531064655.GA8512@localhost.localdomain> <20170531094310.59bb7110@pwslap01u.europe.root.pri> <20170601054320.GA3602@localhost.localdomain> <20170601101945.02560589@pwslap01u.europe.root.pri> <20170602035746.GA6211@localhost.localdomain> <20170602094656.2945cd77@pwslap01u.europe.root.pri> <1496427961.3459908.996916880.0977D5D0@webmail.messagingengine.com> <20170605093819.15075095@pwslap01u.europe.root.pri> <170605072750.ZM31937@torch.brasslantern.com>
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