Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Completion or.. expansion..



"Bart Schaefer" wrote:
> } | > setopt glob bareglobqual nullglob rcexpandparam extendedglob unset
> } | >   unsetopt markdirs globsubst shwordsplit shglob ksharrays cshnullglob
> } | >   unsetopt allexport
> 
> That's why I ask, "Where did you find *those* commands, and why ...?"

See section 6.4 of the guide.  These are the options it describes as being
in (or out of) effect *inside* function widgets. It's a little bit out of
date; the complete list (all but the first two defined in the array
_comp_options) is now

  localoptions localtraps glob bareglobqual nullglob rcexpandparam
  extendedglob unset
  NO_markdirs NO_globsubst NO_shwordsplit NO_shglob NO_kshglob
  NO_ksharrays NO_cshnullglob NO_allexport NO_aliases NO_errexit

So they're only relevant when you start to write your own functions for
completion.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author