_services: README in sysv init dir is not a service
This commit is contained in:
parent
de78c1653a
commit
41cdfc6510
@ -1122,7 +1122,8 @@ _services()
|
|||||||
_sysvdirs
|
_sysvdirs
|
||||||
|
|
||||||
local restore_nullglob=$(shopt -p nullglob); shopt -s nullglob
|
local restore_nullglob=$(shopt -p nullglob); shopt -s nullglob
|
||||||
COMPREPLY=( $( printf '%s\n' ${sysvdirs[0]}/!($_backup_glob|functions) ) )
|
COMPREPLY=( \
|
||||||
|
$( printf '%s\n' ${sysvdirs[0]}/!($_backup_glob|functions|README) ) )
|
||||||
$restore_nullglob
|
$restore_nullglob
|
||||||
|
|
||||||
COMPREPLY+=( $( systemctl list-units --full --all 2>/dev/null | \
|
COMPREPLY+=( $( systemctl list-units --full --all 2>/dev/null | \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user