Fedora Linux Support Community & Resources Center
Old 11th November 2012, 02:19 AM
marko Offline
Registered User
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 7,097
why do only some systemd command completions work?

Suppose I do this (where <tab> means I press the tab key for force a completion)

systemctl ena<tab> ---> completes to --> systemctl enable
systemctl enable chro<tab> --> systemctl enable chrony-wait.service
In the second one, the systemctl completion for "chro" only offers me "chrony-wait.service" but doesn't offer me chronyd.service which would seem to be to also be a valid completion for the fragment 'chro'

why is that?
Reply With Quote
Old 11th November 2012, 03:31 AM
PabloTwo Offline
"Registered User" T-Shirt Winner
Join Date: Mar 2007
Location: Seville, FL
Posts: 7,562
Re: why do only some systemd command completions work?

I can't say for sure, but it appears to me that bash completion works via pre-configured scripts and files.
You can find those in /usr/share/bash-completion/ and /etc/bash_completion.d/

For systemcltl, have a look at the /etc/bash_completion.d/systemd-bash-completion.sh file.
Reply With Quote

command, completions, systemd, work

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
systemd and systemd-ask-password cheerio158 Installation, Upgrades and Live Media 0 23rd September 2012 03:03 PM
systemd-analzye: command not found thkang Using Fedora 4 9th September 2012 02:20 AM
Yum command does not work Felipesm Installation, Upgrades and Live Media 18 22nd September 2010 03:26 PM
gedit command does not work; rpm -ivh does not work.. newfedorahat Using Fedora 32 27th June 2007 06:41 PM
at command does not work with FC3 bruno2040 EOL (End Of Life) Versions 8 21st September 2005 04:36 PM

Current GMT-time: 18:43 (Tuesday, 22-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat