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

Re: Running 'type' causes false positive hashed command completion



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