zsh-users
 help / color / mirror / code / Atom feed
* Darwin completions not installed by default?
@ 2005-01-12 16:09 lists
  2005-01-12 16:51 ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: lists @ 2005-01-12 16:09 UTC (permalink / raw)
  To: zsh-users

Hi all,
	Am I missing something?  It appears that the Darwin completion 
functions aren't installed by default.  Here's what I mean:

% tar xjf zsh-4.2.2.tar.bz2
% cd zsh-4.2.2
% ./configure --prefix=$HOME/zshtest --enable-function-subdirs
% make && make check && make install

Here's the relevant output:

mkdir /Users/install/zshtest/share
mkdir /Users/install/zshtest/share/zsh
mkdir /Users/install/zshtest/share/zsh/site-functions
mkdir /Users/install/zshtest/share/zsh/4.2.2
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Misc
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/MIME
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Prompts
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/TCP
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Zftp
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/AIX
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/BSD
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Base
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Cygwin
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Debian
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Linux
mkdir 
/Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Mandrake
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Redhat
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Unix
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/X
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Zsh
mkdir /Users/install/zshtest/share/zsh/4.2.2/functions/Zle

Note there was no 'mkdir 
/Users/install/zshtest/share/zsh/4.2.2/functions/Completion/Darwin' 
line.  If I edit zsh-4.2.2/config.modules after running './configure' 
so that the line starting with 'name=zsh/complete' contains 
'Completion/Darwin/*/*' I get the Darwin completions installed.  Was 
this an oversight or done on purpose?

Thanks,
Ryan


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

* Re: Darwin completions not installed by default?
  2005-01-12 16:09 Darwin completions not installed by default? lists
@ 2005-01-12 16:51 ` Peter Stephenson
  2005-01-12 17:18   ` lists
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2005-01-12 16:51 UTC (permalink / raw)
  To: zsh-users

lists wrote:
> Hi all,
> 	Am I missing something?  It appears that the Darwin completion 
> functions aren't installed by default.

You're right.  I don't remember that being deliberate.  In principle it
could do a lot more testing of systems to see what's out there, but
since it doesn't...

> If I edit zsh-4.2.2/config.modules after running './configure' 
> so that the line starting with 'name=zsh/complete' contains 
> 'Completion/Darwin/*/*' I get the Darwin completions installed.

This is the right workaround for now.

Index: Src/Zle/complete.mdd
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/complete.mdd,v
retrieving revision 1.10
diff -u -r1.10 complete.mdd
--- Src/Zle/complete.mdd	8 Apr 2003 15:35:04 -0000	1.10
+++ Src/Zle/complete.mdd	12 Jan 2005 16:49:25 -0000
@@ -1,7 +1,7 @@
 name=zsh/complete
 link=either
 load=yes
-functions='Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* Completion/Base/*/* Completion/Cygwin/*/* Completion/Debian/*/* Completion/Linux/*/* Completion/Mandrake/*/* Completion/Redhat/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*'
+functions='Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* Completion/Base/*/* Completion/Cygwin/*/* Completion/Darwin/*/* Completion/Debian/*/* Completion/Linux/*/* Completion/Mandrake/*/* Completion/Redhat/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*'
 
 moddeps="zsh/zle"
 

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


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

* Re: Darwin completions not installed by default?
  2005-01-12 16:51 ` Peter Stephenson
@ 2005-01-12 17:18   ` lists
  0 siblings, 0 replies; 3+ messages in thread
From: lists @ 2005-01-12 17:18 UTC (permalink / raw)
  To: zsh-users

Yep, that fixed it.  Thanks!

-Ryan

On Jan 12, 2005, at 10:51 AM, Peter Stephenson wrote:

> This is the right workaround for now.
>
> Index: Src/Zle/complete.mdd
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/Zle/complete.mdd,v
> retrieving revision 1.10
> diff -u -r1.10 complete.mdd
> --- Src/Zle/complete.mdd	8 Apr 2003 15:35:04 -0000	1.10
> +++ Src/Zle/complete.mdd	12 Jan 2005 16:49:25 -0000
> @@ -1,7 +1,7 @@
>  name=zsh/complete
>  link=either
>  load=yes
> -functions='Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* 
> Completion/Base/*/* Completion/Cygwin/*/* Completion/Debian/*/* 
> Completion/Linux/*/* Completion/Mandrake/*/* Completion/Redhat/*/* 
> Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*'
> +functions='Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* 
> Completion/Base/*/* Completion/Cygwin/*/* Completion/Darwin/*/* 
> Completion/Debian/*/* Completion/Linux/*/* Completion/Mandrake/*/* 
> Completion/Redhat/*/* Completion/Unix/*/* Completion/X/*/* 
> Completion/Zsh/*/*'
>
>  moddeps="zsh/zle"


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

end of thread, other threads:[~2005-01-12 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-12 16:09 Darwin completions not installed by default? lists
2005-01-12 16:51 ` Peter Stephenson
2005-01-12 17:18   ` lists

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).