Project

General

Profile

Actions

Bug #822

open

bash-completion sometimes completes too much

Added by Simon Marchi over 10 years ago. Updated over 9 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.

Actions #1

Updated by David Goulet over 10 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.

Actions #2

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

  • Target version set to Wishlist
Actions

Also available in: Atom PDF