zsh-users
 help / color / mirror / code / Atom feed
* Re: make completion on OpenBSD
@ 2002-05-24 16:30 Jukka Lehti
  2002-05-24 17:02 ` Bart Schaefer
  0 siblings, 1 reply; 11+ messages in thread
From: Jukka Lehti @ 2002-05-24 16:30 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 11+ messages in thread
* make completion on OpenBSD
@ 2002-05-22 19:27 Jukka Lehti
  0 siblings, 0 replies; 11+ messages in thread
From: Jukka Lehti @ 2002-05-22 19:27 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-05-28 21:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-24 16:30 make completion on OpenBSD Jukka Lehti
2002-05-24 17:02 ` Bart Schaefer
2002-05-25 10:18   ` Jukka Lehti
2002-05-25 17:42     ` Bart Schaefer
2002-05-26 10:58       ` Jukka Lehti
2002-05-26 17:31       ` Jukka Lehti
2002-05-26 18:16         ` Bart Schaefer
2002-05-28 11:05           ` Jukka Lehti
2002-05-28 15:21             ` Bart Schaefer
2002-05-28 21:18               ` Dennis Haney
  -- strict thread matches above, loose matches on Subject: below --
2002-05-22 19:27 Jukka Lehti

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).