1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

32008: complete "." and ":" for run-help, clean Doc/help in make

This commit is contained in:
Martin Vaeth 2013-11-18 10:06:33 -08:00 committed by Barton E. Schaefer
parent 7560ed59f9
commit 49959a35df
4 changed files with 10 additions and 3 deletions

View file

@ -5,6 +5,11 @@
2013-11-18 Barton E. Schaefer <schaefer@zsh.org>
* 32008: Martin Vaeth: Completion/Zsh/Command/.distfiles
Completion/Zsh/Command/_run-help Doc/Makefile.in: follow-up to
31988 - complete "." and ":" for run-help, distribute _run-help,
clean up better during make
* 31995: Han Pingtian: Src/glob.c: glob qualifiers cannot
follow an empty pattern, so a leading paren means grouping

View file

@ -22,6 +22,7 @@ _precommand
_print
_prompt
_read
_run-help
_sched
_set
_setopt

View file

@ -3,5 +3,5 @@ local d expl
local HELPDIR=${HELPDIR:-/usr/share/zsh/$ZSH_VERSION/help}
[[ -d $HELPDIR ]] && {
d=($HELPDIR/*(:t))
(($#d)) && _wanted commands expl 'command' compadd -a d
(($#d)) && d+=('.' ':') && _wanted commands expl 'command' compadd -a d
} || _man

View file

@ -187,10 +187,10 @@ man: $(MAN)
runhelp: man
test x"$(runhelpdir)" = x"" || { \
test -r $(sdir)/help.txt && test -r $(sdir)/help/zmodload; \
test -r $(sdir)/help.txt && test -r $(sdir)/help/ztcp; \
} || perl $(sdir_top)/Util/helpfiles \
$(sdir)/zshbuiltins.1 $(sdir)/help $(sdir)/help.txt \
|| { rm -f $(sdir)/help.txt $(sdir)/help/zmodload; false; }
|| { rm -f $(sdir)/help.txt $(sdir)/help/*; false; }
.PHONY: runhelp
$(MAN): zmacros.yo zman.yo
@ -396,6 +396,7 @@ distclean-here: clean-here
realclean-here: distclean-here
cd $(sdir) && rm -f Zsh/modlist.yo Zsh/modmenu.yo Zsh/manmodmenu.yo
cd $(sdir) && rm -f version.yo ../META-FAQ zsh.texi $(MAN)
cd $(sdir) && rm -f help.txt help/*
.PHONY: realclean-here
@CLEAN_MK@