home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-Online 1996 May
/
PCOnline_05_1996.bin
/
linux
/
source
/
ap
/
zsh
/
zsh-2.4
/
zsh-2
/
zsh-2.4.306
/
func
/
run-help
< prev
next >
Wrap
Text File
|
1993-01-31
|
376b
|
18 lines
#! /bin/zsh
# zsh script to peruse the help directory
#
if [[ $1 = "-l" ]]; then
if [[ ${HELPDIR:-} != "" ]]; then
echo 'Here is a list of topics for which help is available:'
echo ""
ls $HELPDIR
else
echo 'There is no help available at this time'
fi
elif [[ ${HELPDIR:-} != "" && -r $HELPDIR/$1 ]]
then
${PAGER:-more} $HELPDIR/$1
else
man $1
fi