/usrmove? -> about the future

Brendan Jones brendan.jones.it at gmail.com
Wed Feb 15 09:53:05 UTC 2012


On 02/15/2012 10:47 AM, Reindl Harald wrote:
>
>
> Am 14.02.2012 19:16, schrieb "Jóhann B. Guðmundsson":
>> On 02/14/2012 10:23 AM, Alfredo Ferrari wrote:
>>>
>>> Do the systemd maintainers ever read bug reports BTW?
>>
>> Why do you think otherwise?
>>
>> Not only read them but fix them as well.
>>
>> To give you some stats
>>
>> There are currently 96 Open bugs against systemd and 536 that have been closed at the time of this writing...
>>
>> In F15 which should be the most buggied release since it was the initial release into the distribution only has 11
>> bugs
>
> will "systemctl restart" ever has working autocompletion for RUNNING services?
> it is a littl ebit odd the it does show STOPPED services because
> restart makes ususally more sense for running ones.......
>
>
>
>
You could edit /etc/bash_completion.d/systemd-bash-completion.sh to do 
this for you.

Replace the $( __get_all_units | grep ...)) with $( __get_active_units ) )

.
.
.

  elif __contains_word "$verb" ${VERBS[RESTARTABLE_UNITS]}; then
                 comps=$( __filter_units_by_property CanStart yes \
                       $( __get_all_units | grep -Ev 
'\.(device|snapshot|socket|timer)$' ))
.
.
.


More information about the devel mailing list