about summary refs log tree commit diff
path: root/Completion/Zsh
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2016-03-15 23:35:40 +0100
committerFrank Terbeck <ft@bewatermyfriend.org>2016-03-16 00:38:37 +0100
commit5deb57714fc799918552b22f077cc4b1daf1f68f (patch)
treece6b450717bc0396336eca1a28305916723226c8 /Completion/Zsh
parentbd06982b2354083db139b3ca65f999717a0c0b9c (diff)
downloadzsh-5deb57714fc799918552b22f077cc4b1daf1f68f.tar.gz
zsh-5deb57714fc799918552b22f077cc4b1daf1f68f.tar.xz
zsh-5deb57714fc799918552b22f077cc4b1daf1f68f.zip
38161: _tmux: Use a colon to terminate options to _arguments itself
In users/21384 it was reported that

  % tmux new-session -<tab>

...does not offer -A as a candidate for completion even though the
option is listed in the involved helper function _tmux-new-session().

-A is actually an option the _arguments function uses itself. The
documentation states:

    To avoid ambiguity, all options to _arguments itself may
    be separated from the spec forms by a single colon.

This commit changes each _arguments call to include the optional
colon, so problems like this are prevented now and hopefully in
the future.
Diffstat (limited to 'Completion/Zsh')
0 files changed, 0 insertions, 0 deletions