Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: experimental new style completion
- X-seq: zsh-workers 4885
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: experimental new style completion
- Date: Wed, 6 Jan 1999 23:36:32 -0800
- In-reply-to: <199901051543.QAA28269@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <199901051543.QAA28269@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Jan 5, 4:43pm, Sven Wischnowsky wrote:
} Subject: Re: experimental new style completion
}
} - When completing in subscripts on the left side of an parameter
} assignment the CONTEXT is now set to `subscr' (this is still a bit
} hackish)
May I suggest that there's no reason to abbreviate names of this sort.
`command' (not `cmd') we are completing in command position
`argument' (not `arg') we are completing in argument position
`redirect' (not `redir') ... after a redirection operator
`math' ... in a math environment
`subscript' (not `subscr') ... in a subscript
`value' ... in the value of an variable assignment
`condition' ... inside `[[...]]'
Also ... I may be mistaken, but isn't it possible to be in both the command
position and after a redirection operator (e.g. readnullcmd) or in both a
math context and inside a subscript? Is a single context identifier enough?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author