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

Re: Darwin completions not installed by default?



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@xxxxxxx>                  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
**********************************************************************



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