[Bash-completion-commits] [bash-completion] 01/01: _services: README in sysv init dir is not a service

Ville Skyttä scop-guest at moszumanska.debian.org
Mon Jun 2 13:51:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

scop-guest pushed a commit to branch master
in repository bash-completion.

commit 41cdfc6510093ddb6766aabb1574d2064279620e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Jun 2 16:49:59 2014 +0300

    _services: README in sysv init dir is not a service
---
 bash_completion | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bash_completion b/bash_completion
index e7081af..5c07784 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1122,7 +1122,8 @@ _services()
     _sysvdirs
 
     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
 
     COMPREPLY+=( $( systemctl list-units --full --all 2>/dev/null | \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git



More information about the Bash-completion-commits mailing list