/
usr
/
share
/
zsh
/
5.5.1
/
help
/
/usr/share/zsh/5.5.1/help
mkdir
upload
Name
Size
Mode
Actions
alias
2322
0644
edit
dl
rm
autoload
4609
0644
edit
dl
rm
bg
123
0644
edit
dl
rm
bindkey
60
0644
edit
dl
rm
break
184
0644
edit
dl
rm
builtin
81
0644
edit
dl
rm
bye
531
0644
edit
dl
rm
cap
62
0644
edit
dl
rm
cd
2719
0644
edit
dl
rm
chdir
2719
0644
edit
dl
rm
clone
64
0644
edit
dl
rm
colon
190
0644
edit
dl
rm
command
566
0644
edit
dl
rm
comparguments
81
0644
edit
dl
rm
compcall
75
0644
edit
dl
rm
compctl
74
0644
edit
dl
rm
compdescribe
80
0644
edit
dl
rm
compfiles
77
0644
edit
dl
rm
compgroups
78
0644
edit
dl
rm
compquote
77
0644
edit
dl
rm
comptags
76
0644
edit
dl
rm
comptry
75
0644
edit
dl
rm
compvalues
78
0644
edit
dl
rm
continue
244
0644
edit
dl
rm
declare
21412
0644
edit
dl
rm
dirs
729
0644
edit
dl
rm
disable
3767
0644
edit
dl
rm
disown
682
0644
edit
dl
rm
dot
1144
0644
edit
dl
rm
echo
1470
0644
edit
dl
rm
echotc
66
0644
edit
dl
rm
echoti
67
0644
edit
dl
rm
emulate
6562
0644
edit
dl
rm
enable
1262
0644
edit
dl
rm
eval
374
0644
edit
dl
rm
exec
997
0644
edit
dl
rm
exit
531
0644
edit
dl
rm
export
280
0644
edit
dl
rm
false
68
0644
edit
dl
rm
fc
6219
0644
edit
dl
rm
fg
140
0644
edit
dl
rm
float
21412
0644
edit
dl
rm
functions
3768
0644
edit
dl
rm
getcap
62
0644
edit
dl
rm
getln
147
0644
edit
dl
rm
getopts
1840
0644
edit
dl
rm
hash
2443
0644
edit
dl
rm
history
6219
0644
edit
dl
rm
integer
21412
0644
edit
dl
rm
jobs
791
0644
edit
dl
rm
kill
1480
0644
edit
dl
rm
let
323
0644
edit
dl
rm
limit
3598
0644
edit
dl
rm
local
21412
0644
edit
dl
rm
log
116
0644
edit
dl
rm
logout
531
0644
edit
dl
rm
noglob
83
0644
edit
dl
rm
popd
820
0644
edit
dl
rm
print
5415
0644
edit
dl
rm
printf
2153
0644
edit
dl
rm
pushd
1626
0644
edit
dl
rm
pushln
5415
0644
edit
dl
rm
pwd
260
0644
edit
dl
rm
r
6219
0644
edit
dl
rm
read
5814
0644
edit
dl
rm
readonly
21412
0644
edit
dl
rm
rehash
2443
0644
edit
dl
rm
return
928
0644
edit
dl
rm
sched
64
0644
edit
dl
rm
set
2466
0644
edit
dl
rm
setcap
62
0644
edit
dl
rm
setopt
1599
0644
edit
dl
rm
shift
422
0644
edit
dl
rm
source
182
0644
edit
dl
rm
stat
63
0644
edit
dl
rm
suspend
199
0644
edit
dl
rm
test
1212
0644
edit
dl
rm
times
113
0644
edit
dl
rm
trap
3704
0644
edit
dl
rm
true
67
0644
edit
dl
rm
ttyctl
1219
0644
edit
dl
rm
type
2393
0644
edit
dl
rm
typeset
21412
0644
edit
dl
rm
ulimit
3173
0644
edit
dl
rm
umask
485
0644
edit
dl
rm
unalias
1282
0644
edit
dl
rm
unfunction
1282
0644
edit
dl
rm
unhash
1282
0644
edit
dl
rm
unlimit
555
0644
edit
dl
rm
unset
933
0644
edit
dl
rm
unsetopt
506
0644
edit
dl
rm
vared
52
0644
edit
dl
rm
wait
1378
0644
edit
dl
rm
whence
2393
0644
edit
dl
rm
where
2393
0644
edit
dl
rm
which
2393
0644
edit
dl
rm
zcompile
6629
0644
edit
dl
rm
zformat
72
0644
edit
dl
rm
zftp
63
0644
edit
dl
rm
zle
52
0644
edit
dl
rm
zmodload
17337
0644
edit
dl
rm
zparseopts
75
0644
edit
dl
rm
zprof
64
0644
edit
dl
rm
zpty
63
0644
edit
dl
rm
zregexparse
76
0644
edit
dl
rm
zsocket
77
0644
edit
dl
rm
zstyle
64
0644
edit
dl
rm
ztcp
66
0644
edit
dl
rm
Edit:
/usr/share/zsh/5.5.1/help/zcompile
(6629B)
zcompile [ -U ] [ -z | -k ] [ -R | -M ] file [ name ... ] zcompile -ca [ -m ] [ -R | -M ] file [ name ... ] zcompile -t file [ name ... ] This builtin command can be used to compile functions or scripts, storing the compiled form in a file, and to examine files containing the compiled form. This allows faster autoloading of functions and sourcing of scripts by avoiding parsing of the text when the files are read. The first form (without the -c, -a or -t options) creates a com- piled file. If only the file argument is given, the output file has the name `file.zwc' and will be placed in the same directory as the file. The shell will load the compiled file instead of the normal function file when the function is autoloaded; see the section `Autoloading Functions' in zshmisc(1) for a descrip- tion of how autoloaded functions are searched. The extension .zwc stands for `zsh word code'. If there is at least one name argument, all the named files are compiled into the output file given as the first argument. If file does not end in .zwc, this extension is automatically appended. Files containing multiple compiled functions are called `digest' files, and are intended to be used as elements of the FPATH/fpath special array. The second form, with the -c or -a options, writes the compiled definitions for all the named functions into file. For -c, the names must be functions currently defined in the shell, not those marked for autoloading. Undefined functions that are marked for autoloading may be written by using the -a option, in which case the fpath is searched and the contents of the defini- tion files for those functions, if found, are compiled into file. If both -c and -a are given, names of both defined func- tions and functions marked for autoloading may be given. In either case, the functions in files written with the -c or -a option will be autoloaded as if the KSH_AUTOLOAD option were unset. The reason for handling loaded and not-yet-loaded functions with different options is that some definition files for autoloading define multiple functions, including the function with the same name as the file, and, at the end, call that function. In such cases the output of `zcompile -c' does not include the addi- tional functions defined in the file, and any other initializa- tion code in the file is lost. Using `zcompile -a' captures all this extra information. If the -m option is combined with -c or -a, the names are used as patterns and all functions whose names match one of these patterns will be written. If no name is given, the definitions of all functions currently defined or marked as autoloaded will be written. Note the second form cannot be used for compiling functions that include redirections as part of the definition rather than within the body of the function; for example fn1() { { ... } >~/logfile } can be compiled but fn1() { ... } >~/logfile cannot. It is possible to use the first form of zcompile to compile autoloadable functions that include the full function definition instead of just the body of the function. The third form, with the -t option, examines an existing com- piled file. Without further arguments, the names of the origi- nal files compiled into it are listed. The first line of output shows the version of the shell which compiled the file and how the file will be used (i.e. by reading it directly or by mapping it into memory). With arguments, nothing is output and the return status is set to zero if definitions for all names were found in the compiled file, and non-zero if the definition for at least one name was not found. Other options: -U Aliases are not expanded when compiling the named files. -R When the compiled file is read, its contents are copied into the shell's memory, rather than memory-mapped (see -M). This happens automatically on systems that do not support memory mapping. When compiling scripts instead of autoloadable functions, it is often desirable to use this option; otherwise the whole file, including the code to define functions which have already been defined, will remain mapped, conse- quently wasting memory. -M The compiled file is mapped into the shell's memory when read. This is done in such a way that multiple instances of the shell running on the same host will share this mapped file. If neither -R nor -M is given, the zcompile builtin decides what to do based on the size of the com- piled file. -k -z These options are used when the compiled file contains functions which are to be autoloaded. If -z is given, the function will be autoloaded as if the KSH_AUTOLOAD option is not set, even if it is set at the time the compiled file is read, while if the -k is given, the function will be loaded as if KSH_AUTOLOAD is set. These options also take precedence over any -k or -z options specified to the autoload builtin. If neither of these options is given, the function will be loaded as determined by the setting of the KSH_AUTOLOAD option at the time the com- piled file is read. These options may also appear as many times as necessary between the listed names to specify the loading style of all following functions, up to the next -k or -z. The created file always contains two versions of the com- piled format, one for big-endian machines and one for small-endian machines. The upshot of this is that the compiled file is machine independent and if it is read or mapped, only one half of the file is actually used (and mapped).
Save
cmd:
run