[lttng-dev] Bash completion v0.00001

David Goulet dgoulet at efficios.com
Tue Jan 24 09:59:55 EST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 12-01-24 09:47 AM, Mathieu Desnoyers wrote:
> * Simon Marchi (simon.marchi at polymtl.ca) wrote:
>> Hi,
>>
>> This is my first or so version of the programmable bash completion
>> (tab completion) for the LTTng 2.0 command line tool:
>>
>> http://git.dorsal.polymtl.ca/~smarchi?p=lttng-bash-completion.git;a=blob;f=lttng;hb=HEAD
>>
>> Currently, it is able to complete general options (before the
>> command), the command names and command-specific options (after the
>> command). The patch I sent earlier today for lttng-tools is needed for
>> the completion to work, so if you want to try it, you can either wait
>> for it to be merged or apply it yourself.
>>
>> Install instructions for Debian-based distros:
>>
>> 1- Make sure that the bash-completion package is installed on your system
>> 2- Copy the file in /etc/bash_completion.d
>> 3- Type source /etc/bash_completion
>>
>> In the future, it would be interesting to be able to complete session
>> names, channel names, and maybe perf counter names, which look like a
>> big headache to type by hand.
> 
> It would be nice to figure out where we could package it in the
> lttng-tools. Maybe in a extras/ directory ? Thoughts ?

Yes normally, you can find these kind of things in contrib/ or extras/.

We can thing also of default init script, basic setup script, and so on...

David

> 
> Thanks,
> 
> Mathieu
> 
>>
>> Comments are welcome.
>>
>> Thanks,
>>
>> Simon
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJPHsdrAAoJEELoaioR9I02QpoH/1bCTS4WVKgr1TuWhf7QhLg0
HeHXkoJ0sZoYoIqbrJ6ax2F4OK263G7ct+hE64v/Sw8AnJX3oG0haGmz3if9KYzt
FcRDTA+H5xYhhV2IMPQrVO0wRV/9+4C8+4D8uSjVyb0dIs0nrmiTimfYAuvxmJhL
Twpa+AUyX5J0RXtfDuMv+V0K7lj4yWOjctflQgN2vejWx7fR5RFf3+I8MCDaK9xl
BSYTF8xRP+ndGK9Cf0/dHQFdp/dxTHtqqdlKPmuN7ZW7CQXM1LFiwq0CRdxJ5zOx
diSCPFedoyzG0HUioo8kCFobck/yAWowUt5QHKdLzmmsIJ+jLUDnPdo1XiuJrsI=
=EdPh
-----END PGP SIGNATURE-----



More information about the lttng-dev mailing list