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

Re: ZSH - tab-completion of $PATH won't work with /./ or /../ in it



On Tue, 08 Dec 2015 22:22:36 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> The command hash table has NEVER included commands that appear along
> any relative path.

...and actually, this can't be the problem.  The path isn't relative, it
just a ".." or "." in it(e.g. /Users/jpolansky/./test), and this usually
works...

$path contains just normal path:

% which config.status
config.status not found

$path also contains /export/home/pws/src/zsh-git/code/Src/..:

% which config.status
/export/home/pws/src/zsh-git/code/Src/..

and config.status is completed.

Same with
/export/home/pws/src/zsh-git/code/./

So something else is going on.

pws



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