_services: README in sysv init dir is not a service

This commit is contained in:
Ville Skyttä 2014-06-02 16:49:59 +03:00
parent de78c1653a
commit 41cdfc6510

View File

@ -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 | \