Reason for suffix on history completion? #324
-
Hi, since a114e53, the history suffix (semicolon) is removed for most selections. What is the reason for showing it during completion? I'm sure I can get used to it, but at the moment it mostly confuses me. Would it be an idea to just add it when using multiselect? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
The
;
suffix is necessary to make multiselect usable. The way this works in Zsh, is that each completion can have a suffix that can be removed afterwards. This is the only way we can insert;
to separate multiple history lines. The suffix is automatically removed (under most circumstances) for the last line you insert. It’s not possible to insert separators after the fact.