Project

General

Profile

Actions

Bug #822

open
SM SM

bash-completion sometimes completes too much

Bug #822: bash-completion sometimes completes too much

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

DG Updated by David Goulet about 11 years ago Actions #1

  • 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.

JG Updated by Jérémie Galarneau about 10 years ago Actions #2

  • Target version set to Wishlist
Actions

Also available in: PDF Atom