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
1 changed files with 1 additions and 1 deletions

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