_services: Include systemd services.
This commit is contained in:
parent
50d44ca3a4
commit
472b5bb958
@ -1049,6 +1049,9 @@ _services()
|
|||||||
|
|
||||||
$restore_nullglob
|
$restore_nullglob
|
||||||
|
|
||||||
|
COMPREPLY+=( $( systemctl list-units --full --all 2>/dev/null | \
|
||||||
|
awk '$1 ~ /\.service$/ { sub("\\.service$", "", $1); print $1 }' ) )
|
||||||
|
|
||||||
COMPREPLY=( $( compgen -W '${COMPREPLY[@]#@($sysvdir|$famdir)/}' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W '${COMPREPLY[@]#@($sysvdir|$famdir)/}' -- "$cur" ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user