mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-11 00:51:05 +02:00
Add note about kshautoload behavior.
This commit is contained in:
parent
fcf0d2c3d5
commit
d4e7ce1b9c
1 changed files with 4 additions and 0 deletions
|
@ -54,3 +54,7 @@ Ksh automatically searches FPATH for any command not found in PATH, and
|
||||||
autoloads the file if found. The "autoload" command is only required if
|
autoloads the file if found. The "autoload" command is only required if
|
||||||
you want FPATH to be searched before PATH, e.g. because the function has
|
you want FPATH to be searched before PATH, e.g. because the function has
|
||||||
the same name as a command in PATH.
|
the same name as a command in PATH.
|
||||||
|
|
||||||
|
Autoloading should work more like "source" when kshautoload is active.
|
||||||
|
In particular, aliases defined in the autoloaded file should be expanded
|
||||||
|
when referenced later in the same file (even when using "autoload -U").
|
||||||
|
|
Loading…
Reference in a new issue