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

make completion on OpenBSD



Hi,

I've been using following in my ~/.zshrc to get make
completion right:

compctl -s "\$(awk '/^[a-zA-Z0-9][^\/ \t]+:/ {print
\$1}' FS=: [mM]akefile)" -x 'c[-1,-f]' -f --
{,g,gnu,p,v}make

And this works just fine on Linuxes (RedHat, Debian).
However, after I installed OpenBSD 3.1 and zsh-4.0.4,
the above behaves strangely:

root@bsd:~>make <TAB>awk: i/o error occurred while
closing /dev/stdin
 input record number 538, file Makefile
 source line number 1
p
dep dep-files depend
root@bsd:~>make dep

Makefile is the top-level Makefile from linux-2.4.18.

Any suggestions?

Thanks.

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



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