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

PATCH: include Prompts/* and Misc/* in default functions install



This one will probably be controversial, although of course personally
I think it should be included :-)

If Prompts/* is part of the default functions install then Misc/* will
need to be too, since `promptinit' loads `colors'.

Incidentally, having FUNCTIONS_INSTALL contain wildcards applying to
two subdirectories at once is a bit evil; what if you wanted to
install Functions/Zle/* but not Completion/Zle/*, or vice-versa?

P.S. Peter, if you've already decided that my prompts stuff will not
be included ever, let me know and I'll shut up about prompts :-)

Index: INSTALL
===================================================================
RCS file: /usr/local/cvsroot/zsh/INSTALL,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 INSTALL
--- INSTALL	1999/09/21 12:15:38	1.1.1.2
+++ INSTALL	1999/10/06 19:11:13
@@ -253,7 +253,7 @@
 Completion or Functions subdirectories.  By default, all the functions for
 the Completion system will be installed (see the zshcompsys manual page),
 plus those provide functions for the line editor, i.e.
-  FUNCTIONS_INSTALL='Core/* Base/* Builtins/* User/* Commands/* Debian/* Linux/* X/* Zle/*'
+  FUNCTIONS_INSTALL='Core/* Base/* Builtins/* User/* Commands/* Debian/* Linux/* X/* Zle/* Prompts/* Misc/*'
 and if the --enable-dynamic option was given, the functions in
 Functions/Zftp, which require the zftp module to be available (see the
 zshzftpsys manual page), will be included as well.  Note, however, that
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/zsh/configure.in,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 configure.in
--- configure.in	1999/09/21 12:17:46	1.1.1.4
+++ configure.in	1999/10/06 19:10:58
@@ -215,7 +215,7 @@
 [  --enable-function-subdirs  install functions in subdirectories])
 
 if test "x${FUNCTIONS_INSTALL+set}" != xset; then
-  FUNCTIONS_INSTALL="Core/* Base/* Builtins/* User/* Commands/* Debian/* Linux/* X/* Zle/*"
+  FUNCTIONS_INSTALL="Core/* Base/* Builtins/* User/* Commands/* Debian/* Linux/* X/* Zle/* Prompts/* Misc/*"
   if test $dynamic != no; then
     FUNCTIONS_INSTALL="${FUNCTIONS_INSTALL} Zftp/*"
   fi



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