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

Re: _command_names and path



Clint Adams wrote:

> _command_names will complete executable files in the current
> directory even if "." isn't in the path.  What's the best way to
> avoid this?

Probably changing _command_names to use `_files -P/ -W/ ...' if `.' is
not in $path.


Bye
  Sven

-- 
Sven Wischnowsky                           wischnow@xxxxxxxxx



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