-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Simon,
This works like a charm except for one thing. For the first level (only "lttng"), if I <double tab>, all possibilities are print out, which is very nice but for the second level, not working :(. Is it possible to add the automatic print of all available options? Thanks David On 12-01-23 11:17 PM, Simon Marchi 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. > > Comments are welcome. > > Thanks, > > Simon > > _______________________________________________ > lttng-dev mailing list > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJPHuTdAAoJEELoaioR9I029yoIALaes9v5vYwRrVEtZ8/F9xTA 6UFhsZRaYqqIUdNwpk0xTOFcXOumXoMM4+Tk/QvdfaH2I8GtcA4Giw8Z1yDfk/9+ 3yjW8pjMmpCQM9rzS9TTAyU/rbCIzlcdaCo3v2fMxOqLvqTAU76vXLDQORvGzPLs hoxKDxJ/crZK4EGGYMiznw7LeDvfU6I+xvV9ihk4zzTMbJie+IuWgy5o3k7LfpqK 5OOfdxxaUkppv2961tHnTiPrCVIeO9I8sMim0v4ctDr5Wen+EBXBWUd5AWSRExP6 csT4FhDEK5s+gdH3JR6HVMew0NG20Dg+A4jH+010OtbJtutUN/DF43qryj5kUSk= =l4OD -----END PGP SIGNATURE----- _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
