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

Re: make completion on OpenBSD



I wrote:

> compctl -s "\$(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print
> \$1}' FS=: [mM]akefile)" -x 'c[-1,-f]' -f --
> {,g,gnu,p,v}make
>
> However, after I installed OpenBSD 3.1 and
zsh-4.0.4,
> the above behaves strangely

Well, after removing backslashed before $'s it started
to work on OpenBSD but broke on Linux. I guess I'll
set up:

[[ "`uname`" = "Linux" ]] && ... || ...

if nobody has better ideas.

Cheers!

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com



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