1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

bash-completion: process only non-template units for systemctl isolate

This commit is contained in:
Frantisek Sumsal 2019-04-25 19:16:06 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent f8f542482e
commit babf4f68fc

View File

@ -273,7 +273,7 @@ _systemctl () {
elif __contains_word "$verb" ${VERBS[ISOLATABLE_UNITS]}; then
comps=$( __filter_units_by_properties $mode AllowIsolate=yes \
$( __get_all_units $mode "$cur" ) )
$( __get_non_template_units $mode "$cur" ) )
compopt -o filenames
elif __contains_word "$verb" ${VERBS[FAILED_UNITS]}; then