1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-13 23:31:08 +02:00

manual/8545

This commit is contained in:
Tanaka Akira 1999-11-04 19:01:14 +00:00
parent dfbeee5555
commit eb26579927

View file

@ -11,16 +11,19 @@
emulate -R zsh
setopt localoptions
[[ $1 == "." ]] && 1="dot"
[[ $1 == ":" ]] && 1="colon"
# Check whether Util/helpfiles has been used to generate zsh help
if [[ $1 == "-l" ]]
then
if [[ -n "${HELPDIR:-}" ]]
if [[ -n "${HELPDIR:-}" && -d $HELPDIR ]]
then
echo 'Here is a list of topics for which help is available:'
echo "Here is a list of topics for which special help is available:"
echo ""
print -rc $HELPDIR/*(:t)
else
echo 'There is no list of help topics available at this time'
echo "There is no list of special help topics available at this time."
fi
return 0
elif [[ -n "${HELPDIR:-}" && -r $HELPDIR/$1 && $1 != compctl ]]
@ -29,7 +32,7 @@ then
return $?
fi
# No zsh help, use "whence" to figure out where else we might look
# No zsh help; use "whence" to figure out where else we might look
local what places newline='
'
integer i=0 didman=0