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

This commit is contained in:
Frantisek Sumsal
2019-04-26 08:05:05 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent f8f542482e
commit babf4f68fc
+1 -1
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