Debian Bug report logs - #540329
bash-completion: complete on invoke-rc.d, not only service

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: "Andrew O. Shadoura" <bugzilla@tut.by>

Date: Fri, 7 Aug 2009 09:30:01 UTC

Severity: wishlist

Found in version bash-completion/20080705

Fixed in versions bash-completion/1:1.0-3, 1:1.0-3

Done: David Paleino <d.paleino@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#540329; Package bash-completion. (Fri, 07 Aug 2009 09:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to "Andrew O. Shadoura" <bugzilla@tut.by>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Fri, 07 Aug 2009 09:30:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Andrew O. Shadoura" <bugzilla@tut.by>
To: submit@bugs.debian.org
Subject: bash-completion: complete on invoke-rc.d, not only service
Date: Fri, 07 Aug 2009 09:54:26 +0100
[Message part 1 (text/plain, inline)]
Package: bash-completion
Severity: wishlist
Version: 20080705

Hello.

This patch adds completion on invoke-rc.d (same as for service).

-- 
WBR, Andrew

[bash_completion.diff (text/x-diff, inline)]
--- /etc/bash_completion
+++ /etc/bash_completion
@@ -622,7 +622,7 @@
 
 	# don't complete for things like killall, ssh and mysql if it's
 	# the standalone command, rather than the init script
-	[[ ${COMP_WORDS[0]} != @(*init.d/!(functions|~)|service) ]] && return 0
+	[[ ${COMP_WORDS[0]} != @(*init.d/!(functions|~)|service|invoke-rc.d) ]] && return 0
 
 	# don't complete past 2nd token
 	[ $COMP_CWORD -gt 2 ] && return 0
@@ -630,7 +630,7 @@
 	[ -d /etc/rc.d/init.d ] && sysvdir=/etc/rc.d/init.d \
 				|| sysvdir=/etc/init.d
 
-	if [[ $COMP_CWORD -eq 1 ]] && [[ $prev == "service" ]]; then
+	if [[ $COMP_CWORD -eq 1 ]] && [[ $prev == @(service|invoke-rc.d) ]]; then
 		_services
 	else
 		COMPREPLY=( $( compgen -W '`sed -ne "y/|/ /; \


Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#540329; Package bash-completion. (Fri, 07 Aug 2009 10:21:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Andrew O. Shadoura" <bugzilla@tut.by>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Fri, 07 Aug 2009 10:21:04 GMT) (full text, mbox, link).


Message #10 received at 540329@bugs.debian.org (full text, mbox, reply):

From: "Andrew O. Shadoura" <bugzilla@tut.by>
To: control@bugs.debian.org
Cc: 540329@bugs.debian.org
Subject: bash-completion: complete on invoke-rc.d, not only service
Date: Fri, 07 Aug 2009 10:53:33 +0100
fixed 540329 1:1.0-3
thanks

Hello.

Just tested version from testing, the bug is fixed there.

-- 
WBR, Andrew




Bug Marked as fixed in versions bash-completion/1:1.0-3. Request was from "Andrew O. Shadoura" <bugzilla@tut.by> to control@bugs.debian.org. (Fri, 07 Aug 2009 10:21:09 GMT) (full text, mbox, link).


Reply sent to David Paleino <d.paleino@gmail.com>:
You have taken responsibility. (Wed, 16 Sep 2009 12:36:05 GMT) (full text, mbox, link).


Notification sent to "Andrew O. Shadoura" <bugzilla@tut.by>:
Bug acknowledged by developer. (Wed, 16 Sep 2009 12:36:05 GMT) (full text, mbox, link).


Message #17 received at 540329-done@bugs.debian.org (full text, mbox, reply):

From: David Paleino <d.paleino@gmail.com>
To: 540329-done@bugs.debian.org
Cc: 540329-submitter@bugs.debian.org
Subject: Closing the bug
Date: Wed, 16 Sep 2009 14:33:27 +0200
[Message part 1 (text/plain, inline)]
Version: 1:1.0-3

Hello,
I'm closing the bug since it has already been dealt with.

David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]

Message sent on to "Andrew O. Shadoura" <bugzilla@tut.by>:
Bug#540329. (Wed, 16 Sep 2009 12:36:08 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 15 Oct 2009 07:37:17 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:40:08 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.