bash-completion: process only non-template units for systemctl isolate
This commit is contained in:
parent
f8f542482e
commit
babf4f68fc
|
@ -273,7 +273,7 @@ _systemctl () {
|
||||||
|
|
||||||
elif __contains_word "$verb" ${VERBS[ISOLATABLE_UNITS]}; then
|
elif __contains_word "$verb" ${VERBS[ISOLATABLE_UNITS]}; then
|
||||||
comps=$( __filter_units_by_properties $mode AllowIsolate=yes \
|
comps=$( __filter_units_by_properties $mode AllowIsolate=yes \
|
||||||
$( __get_all_units $mode "$cur" ) )
|
$( __get_non_template_units $mode "$cur" ) )
|
||||||
compopt -o filenames
|
compopt -o filenames
|
||||||
|
|
||||||
elif __contains_word "$verb" ${VERBS[FAILED_UNITS]}; then
|
elif __contains_word "$verb" ${VERBS[FAILED_UNITS]}; then
|
||||||
|
|
Loading…
Reference in a new issue