Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Running 'type' causes false positive hashed command completion
- X-seq: zsh-workers 39100
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Running 'type' causes false positive hashed command completion
- Date: Wed, 24 Aug 2016 21:13:23 +0000
- Dkim-signature: v=1; a=rsa-sha1; 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-sasl-enc:x-sasl-enc; s=mesmtp; bh=X7fJ2ODzy7HuZ+Zw SdWCkSJ8G6M=; b=bCqF21EdZ6ScHmFBDi1p7cPmEF8KbSWZsafdlMyJSk65scVP pBFA+DoKnOqMVEGgqeEUKg436LwEFpCGQeNl8MZUPPBLsKzUnVOok/7m3SCeiBxC VtGJZqGDwSsw56kXsXY7m1cSc5Fx3YP3oi57paWxbt0SGpr6x9U8/ukeCJQ=
- Dkim-signature: v=1; a=rsa-sha1; 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-sasl-enc:x-sasl-enc; s=smtpout; bh=X7fJ2ODzy7HuZ+Z wSdWCkSJ8G6M=; b=AA+0KfYy25mUShbZV5R7w/17NxO5C1mUhhC9AFiqKpvtrD+ C8NfMEaC4EOmXsxebsn5aFYNRkrSwGG5nKBp9XJlyfApXfhPmNCmvntycG2KnMsd 0iWIOnz7lZFtWL+/UPwCX/san95VscCk050pNoJumwpnvNXhjnt5S1GAOkiA=
- In-reply-to: <20160824205849.GA11450@fujitsu.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160824205849.GA11450@fujitsu.shahaf.local2>
Daniel Shahaf wrote on Wed, Aug 24, 2016 at 20:58:49 +0000:
> $ zsh -f
> % cd $(mtemp -d)
> % touch sudofoo; chmod +x $_
> % ./sudo<TAB>
> <becomes>
> % ./sudofoo <^C>
> % type -w ./sudo
> ./sudo: none
> % ./sudo<TAB>
> ./sudo sudofoo*
Add 'autoload compinit && compinit' at the start.
Daniel
P.S. I see somebody fixed the list archives — thanks!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author