* PATCH: install is missing bashcompinit
@ 2003-02-13 16:24 Oliver Kiddle
0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2003-02-13 16:24 UTC (permalink / raw)
To: Zsh workers
With --enable-function-subdirs, bashcompinit gets missed. I think this
fix is right.
Oliver
Index: Config/installfns.sh
===================================================================
RCS file: /cvsroot/zsh/zsh/Config/installfns.sh,v
retrieving revision 1.9
diff -u -r1.9 installfns.sh
--- Config/installfns.sh 7 Aug 2001 09:08:50 -0000 1.9
+++ Config/installfns.sh 13 Feb 2003 16:15:46 -0000
@@ -18,13 +18,12 @@
esac
if test x$FUNCTIONS_SUBDIRS != x -a x$FUNCTIONS_SUBDIRS != xno; then
case "$file" in
- Completion/comp*)
+ Completion/*/*)
subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`"
- instdir="$fndir/Completion"
+ instdir="$fndir/$subdir"
;;
Completion/*)
- subdir="`echo $file | sed -e 's%/[^/]*/[^/]*$%%'`"
- instdir="$fndir/$subdir"
+ instdir="$fndir/Completion"
;;
*)
subdir="`echo $file | sed -e 's%/[^/]*$%%' -e 's%^Functions/%%'`"
Index: Src/Zle/complete.mdd
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/complete.mdd,v
retrieving revision 1.8
diff -u -r1.8 complete.mdd
--- Src/Zle/complete.mdd 8 May 2002 09:18:13 -0000 1.8
+++ Src/Zle/complete.mdd 13 Feb 2003 16:15:46 -0000
@@ -1,7 +1,7 @@
name=zsh/complete
link=either
load=yes
-functions='Completion/comp* Completion/AIX/*/* Completion/BSD/*/* Completion/Base/*/* Completion/Debian/*/* Completion/Linux/*/* Completion/Mandrake/*/* Completion/Redhat/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*'
+functions='Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* Completion/Base/*/* Completion/Debian/*/* Completion/Linux/*/* Completion/Mandrake/*/* Completion/Redhat/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*'
moddeps="zsh/zle"
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-13 16:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-13 16:24 PATCH: install is missing bashcompinit Oliver Kiddle
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).