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

Re: Completion of prefix redirections is -command- instead of -redirect-



On Aug 26,  5:39am, Daniel Shahaf wrote:
}
} Typing "<" and <TAB> at the prompt tries these completions [wrapped by me]:
} 
} tags in context :completion::complete:-command-::

Confirm this is new since 5.0.8.

Looking at _complete_debug output, it seems to be ignoring the "<" and
completing as if the buffer were empty; there is nothing in the $words
array when entering compsys, so of course it tries commands.

Interestingly, compctl doesn't have this problem (though maybe not for
the right reason).



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