diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-01-29 14:20:55 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-01-29 14:20:55 +0000 |
| commit | 4db0b10fc2f5b5c1344004cdb28ef257d8e5de85 (patch) | |
| tree | 2ea644d905f2aac33e75663585d8e3aeaed89047 /Completion/Unix | |
| parent | 18143,18144: assorted tweaks. (diff) | |
| download | zsh-4db0b10fc2f5b5c1344004cdb28ef257d8e5de85.tar zsh-4db0b10fc2f5b5c1344004cdb28ef257d8e5de85.tar.gz zsh-4db0b10fc2f5b5c1344004cdb28ef257d8e5de85.tar.bz2 zsh-4db0b10fc2f5b5c1344004cdb28ef257d8e5de85.tar.lz zsh-4db0b10fc2f5b5c1344004cdb28ef257d8e5de85.tar.xz zsh-4db0b10fc2f5b5c1344004cdb28ef257d8e5de85.tar.zst zsh-4db0b10fc2f5b5c1344004cdb28ef257d8e5de85.zip | |
18156: use reply array instead of ali for plugins and document new styles
Diffstat (limited to 'Completion/Unix')
| -rw-r--r-- | Completion/Unix/Type/_email_addresses | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Completion/Unix/Type/_email_addresses b/Completion/Unix/Type/_email_addresses index fe4f252c8..3d2ce2911 100644 --- a/Completion/Unix/Type/_email_addresses +++ b/Completion/Unix/Type/_email_addresses @@ -7,14 +7,14 @@ # # Plugins are written as separate functions with names starting `_email-'. # They should either do their own completion or return the addresses in the -# ali array in the form 'alias:address' and return 300. The -c option is +# reply array in the form 'alias:address' and return 300. The -c option is # passed on to plugins (and -n could be if needed ever). New plugins will be # picked up and run automatically. # plugins (( $+functions[_email-mail] )) || _email-mail() { - ali=( ${${${(M)${(f)"$(<$files[$plugin])"}:#alias*}##alias[[:blank:]]##}/[[:blank:]]##/:} ) + reply=( ${${${(M)${(f)"$(<$files[$plugin])"}:#alias*}##alias[[:blank:]]##}/[[:blank:]]##/:} ) |
