Ticket #3555 (new defect)

Opened 13 months ago

Last modified 13 months ago

Create a bash_completion file for ./sugar-jhbuild command

Reported by: humitos Owned by: sascha_silbe
Priority: Low Milestone: Unspecified by Release Team
Component: sugar-jhbuild Version: Unspecified
Severity: Trivial Keywords:
Cc: humitos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

It could be useful to have this file so when we will press TAB while we are writing in the Terminal, bash will be able to suggest us about the options.

References:

This is a very low priority task.

Attachments

sugar-jhbuild Download (1.9 KB) - added by humitos 13 months ago.
First steps…
sugar-jhbuild.2 Download (5.9 KB) - added by humitos 13 months ago.
All commands with all their options available with TAB

Change History

Changed 13 months ago by humitos

First steps...

Changed 13 months ago by humitos

All commands with all their options available with TAB

Changed 13 months ago by humitos

To be able to use this autocomplete file you should copy it inside /etc/bash_completion.d/:

sudo cp sugar-jhbuild.2 /etc/bash_completion.d/

or you can test it doing:

. /etc/bash_completion.d/sugar-jhbuild.2

and then:

./sugar-jhbuild bu<TAB>
build     buildone
Note: See TracTickets for help on using tickets.