On 8/24/2019 1:26 PM, Daniel Shahaf wrote:
Scott Frazer wrote on Sat, 24 Aug 2019 12:44 +00:00:I would like to do completion from a list of values that have ':' in them, something like: _values foo a::b c::d and have it offer 'a::b' and 'c::d' as choices, but I can't figure out how to escape the ':' in the completion system.Backslashes: [[[ % _f() { _values desc 'foo\:\:FOO' 'bar\:\:BAR' } % f <TAB>descbar::BAR foo::FOO % ]]] Cheers, Daniel
Thanks, I thought I had tried all combinations of quotes and backslashes but apparently not.