[systemd-devel] Feature wish - auto-complete

2013-06-18 Thread David Lambert
As I am lazy I would love to see the auto-complete feature implemented 
in systemd CLI.


Dave.

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Feature wish - auto-complete

2013-06-18 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jun 18, 2013 at 08:44:05AM -0500, David Lambert wrote:
 As I am lazy I would love to see the auto-complete feature
 implemented in systemd CLI.
Wait, wait, ..., it's already here!

Zbyszek
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Feature wish - auto-complete

2013-06-18 Thread killermoehre
Am 18.06.2013 15:44, schrieb David Lambert:
 As I am lazy I would love to see the auto-complete feature implemented
 in systemd CLI.
 
 Dave.
 

Hi Dave,

Well, I have autocompletion for systemctl, journalctl, loginctl, *ctl,
etc. Are you sure bash-completion is installed and enabled?

Regards




signature.asc
Description: OpenPGP digital signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Feature wish - auto-complete

2013-06-18 Thread David Lambert

On 13-06-18 08:58 AM, killermoehre wrote:

Am 18.06.2013 15:44, schrieb David Lambert:

As I am lazy I would love to see the auto-complete feature implemented
in systemd CLI.

Dave.


Hi Dave,

Well, I have autocompletion for systemctl, journalctl, loginctl, *ctl,
etc. Are you sure bash-completion is installed and enabled?

Regards


I can auto complete the primary commands such as systemctl, etc. 
However, I would do not see auto completing further in the command line, 
such as:


systemctl status partofmyservicenametab etc.

I am running systemd on Angstrom:

systemctl --version
systemd 196
angstrom
+PAM -LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ

Dave.







___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Feature wish - auto-complete

2013-06-18 Thread Reindl Harald


Am 18.06.2013 16:06, schrieb David Lambert:
 On 13-06-18 08:58 AM, killermoehre wrote:
 Am 18.06.2013 15:44, schrieb David Lambert:
 As I am lazy I would love to see the auto-complete feature implemented
 in systemd CLI.

 Dave.

 Hi Dave,

 Well, I have autocompletion for systemctl, journalctl, loginctl, *ctl,
 etc. Are you sure bash-completion is installed and enabled?

 Regards
 
 I can auto complete the primary commands such as systemctl, etc. However, I 
 would do not see auto completing
 further in the command line, such as:
 
 systemctl status partofmyservicenametab etc.

*again* install bash-completion and you are done

[harry@srv-rhsoft:~]$ systemctl status a
acpid.service alsa-store.serviceauditd.service
avahi-daemon.socket
alsa-restore.service  apcupsd.service   avahi-daemon.service
[harry@srv-rhsoft:~]$ systemctl status a




signature.asc
Description: OpenPGP digital signature
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Feature wish - auto-complete

2013-06-18 Thread Lennart Poettering
On Tue, 18.06.13 09:06, David Lambert (d...@lambsys.com) wrote:

 I can auto complete the primary commands such as systemctl, etc.
 However, I would do not see auto completing further in the command
 line, such as:
 
 systemctl status partofmyservicenametab etc.

That's also implemented (and has been for at least a year or two). Maybe
you aren't running bash or lack the completion support in your bash build?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Feature wish - auto-complete

2013-06-18 Thread David Strauss
It definitely works for me on Fedora, but it's terribly slow with
1000+ units. I've been meaning to look into that.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel