Project

General

Profile

Bug #822

bash-completion sometimes completes too much

Added by Simon Marchi almost 6 years ago. Updated over 4 years ago.

Status:
Confirmed
Priority:
Low
Assignee:
Target version:
Start date:
07/28/2014
Due date:
% Done:

0%

Estimated time:

Description

I am not sure how to word it, but here is an example. I have a single session, named "auto-20140728-134322".

$ lttng des<tab> => $ lttng destroy

That's good, now let's press tab again:

$ lttng destroy <tab> => $ lttng destroy auto-20140728-134322

That's good, now let's press tab again:

$ lttng destroy auto-20140728-134322 <tab> => $ lttng destroy auto-20140728-134322 auto-20140728-134322

Oops, we can go like that for a long time. Every <tab> press adds a "auto-20140728-134322". It should detect that we already gave a positional argument. Since the command takes only one positional argument, subsequent <tab> presses should do nothing.

#1

Updated by David Goulet over 5 years ago

  • Status changed from New to Confirmed
  • Assignee set to Simon Marchi

Simon, I'm assigning this to you since you are basically the maintainer of that wonderful extra feature.

#2

Updated by Jérémie Galarneau over 4 years ago

  • Target version set to Wishlist

Also available in: Atom PDF