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

Re: Updated _acroread completer



Haakon Riiser wrote:
> 
> It doesn't work when acroread is a wrapper script, which it is
> in my case.  (I used a wrapper instead of a symlink, because the

Given that it is very fast compared to running acroread -help, it would
be worth trying it and falling back on your method if it fails.

> So I'll just have to resolve the symlink using readlink.  I assume
> the most portable way to do this is perl, unless there is a way

ls -l piped to sed is more portable than perl. There's an example in
Zsh/Type/_file_descriptors if you want to copy that.

Olive



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