Debian Bug report logs - #506560
say how to start using

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: jidanni@jidanni.org

Date: Sat, 22 Nov 2008 16:18:08 UTC

Severity: wishlist

Tags: confirmed

Fixed in version bash-completion/1:1.0-1

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#506560; Package bash-completion. (Sat, 22 Nov 2008 16:18:10 GMT) (full text, mbox, link).


Acknowledgement sent to jidanni@jidanni.org:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 22 Nov 2008 16:18:11 GMT) (full text, mbox, link).


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

From: jidanni@jidanni.org
To: submit@bugs.debian.org
Subject: say how to start using
Date: Sun, 23 Nov 2008 00:14:53 +0800
Package: bash-completion

There should be a README.debian file that answers the question:
Q: OK, I installed the bash-completion package. Now how do I start
enjoying its benefits?

I recall seeing a friend or even myself when I was younger doing
$ apt-get --TAB
etc. and seeing all the completions, but I can't find instructions now
how to do it anymore.

Maybe it is one of the shopt or set -o's? Can't really guess.

Looking all over the bash docs doesn't reveal how one gets one's bash
to know about /etc/bash_completion. And of course that file itself
doesn't mention what to do either.

OK, looking at
/usr/share/doc/abs-guide/html/sample-bashrc.html
I'm starting to guess that maybe
$ . /etc/bash_completion
is what one needs to do.
And it indeed seems to be.
So please mention in README.debian and /etc/bash_completion:

To start enjoying the benefits of bash_completion, so that e.g.,
$ apt-get --<TAB>
will show --assume-yes --fix-broken...
Use
. /etc/bash_completion
in your .bashrc

(Ah, you might say the README file mentions what to do
   INSTALLATION
   ------------

   The easiest way to install this software is to use a package, such as
   the RPM that I maintain for Red Hat Linux, the .deb package for
   Debian/GNU Linux or Ubuntu, etc.

   If that's not an option or you simply don't want to do this, put the
   bash_completion file somewhere on your system and source it from either
   /etc/bashrc or ~/.bashrc.

But after the first paragraph we get the impression that since we
already installed the .deb, we have already accomplished INSTALLATION.

Therefore you need another README.debian, which answers the question:
How can I, Joe User, start enjoying the benefits of the
bash_completion package today?)

P.S., even http://bash-completion.alioth.debian.org/ assumes one knows
what to do. (But not all users are connected to the Internet always,
so do make a README.debian).
P.S., in the package Description, bashs should be bash's.
P.S., bummer, no
# man aptitude|grep -- --sched|sed q
       --schedule-only
(No, --help doesn't show it. Only the aptitude man page.)




Bug reassigned from package `bash-completion' to `bash'. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 22 Nov 2008 16:30:06 GMT) (full text, mbox, link).


Forcibly Merged 482383 506560. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 22 Nov 2008 16:30:08 GMT) (full text, mbox, link).


Information stored :
Bug#506560; Package bash. (Sat, 22 Nov 2008 16:30:12 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and filed, but not forwarded. (Sat, 22 Nov 2008 16:30:12 GMT) (full text, mbox, link).


Message #14 received at 506560-quiet@bugs.debian.org (full text, mbox, reply):

From: David Paleino <d.paleino@gmail.com>
To: jidanni@jidanni.org
Cc: 506560-quiet@bugs.debian.org, 482383-quiet@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#506560: say how to start using
Date: Sat, 22 Nov 2008 17:28:29 +0100
[Message part 1 (text/plain, inline)]
reassign 506560 bash
forcemerge 482383 506560
thanks

Hello,
this is a bug in bash, which provides a /etc/skel/.bashrc file with commented
lines for bash_completion sourcing:

#if [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#fi

Please follow bug #482383 for more information.

Kindly,
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)]

Information stored :
Bug#506560; Package bash. (Sat, 22 Nov 2008 17:03:12 GMT) (full text, mbox, link).


Acknowledgement sent to jidanni@jidanni.org:
Extra info received and filed, but not forwarded. (Sat, 22 Nov 2008 17:03:12 GMT) (full text, mbox, link).


Message #19 received at 506560-quiet@bugs.debian.org (full text, mbox, reply):

From: jidanni@jidanni.org
To: d.paleino@gmail.com
Cc: 506560-quiet@bugs.debian.org, 482383-quiet@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#506560: say how to start using
Date: Sun, 23 Nov 2008 00:37:57 +0800
No no no. Your merge is wrong.
I don't want bash_completion enabled by default. In no way.
It bloats my shell, and makes it do unexpected things.

But occasionally when I (or Joe first time user) want to taste it, I
need a /usr/share/doc/bash-completion/README.debian
to remind me all I need to do is
DP> #if [ -f /etc/bash_completion ]; then
DP> #    . /etc/bash_completion
DP> #fi
in ~/.bashrc.




Disconnected #506560 from all other report(s). Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 22 Nov 2008 17:21:07 GMT) (full text, mbox, link).


Bug reassigned from package `bash' to `bash-completion'. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Sat, 22 Nov 2008 17:21:10 GMT) (full text, mbox, link).


Information stored :
Bug#506560; Package bash-completion. (Sat, 22 Nov 2008 17:21:14 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and filed, but not forwarded. (Sat, 22 Nov 2008 17:21:14 GMT) (full text, mbox, link).


Message #28 received at 506560-quiet@bugs.debian.org (full text, mbox, reply):

From: David Paleino <d.paleino@gmail.com>
To: jidanni@jidanni.org
Cc: 506560-quiet@bugs.debian.org, 482383-quiet@bugs.debian.org, Bash-Completion Developers <bash-completion-devel@lists.alioth.debian.org>
Subject: Re: [Bash-completion-devel] Bug#506560: say how to start using
Date: Sat, 22 Nov 2008 18:15:25 +0100
[Message part 1 (text/plain, inline)]
unmerge 482383 506560
thanks

On Sun, 23 Nov 2008 00:37:57 +0800, jidanni@jidanni.org wrote:

> No no no. Your merge is wrong.
> I don't want bash_completion enabled by default. In no way.
> It bloats my shell, and makes it do unexpected things.

Ok, understood.

Fixed in bzr rev1207:

---8<---
[..]
Debian/GNU Linux or Ubuntu, etc. You still need to source it from either
/etc/bashrc or ~/.bashrc (or any other file sourcing those). You can do
this by simply using:

# Use bash-completion, if available
if [ -f /etc/bash_completion ]; then
  . /etc/bash_completion
fi

(if you happen to have *only* bash >= 2.04, see further if not)
[..]
--->8---

Kindly,
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)]

Information stored :
Bug#506560; Package bash-completion. (Sat, 22 Nov 2008 17:27:27 GMT) (full text, mbox, link).


Acknowledgement sent to jidanni@jidanni.org:
Extra info received and filed, but not forwarded. (Sat, 22 Nov 2008 17:27:28 GMT) (full text, mbox, link).


Message #33 received at 506560-quiet@bugs.debian.org (full text, mbox, reply):

From: jidanni@jidanni.org
To: d.paleino@gmail.com
Cc: 506560-quiet@bugs.debian.org, 482383-quiet@bugs.debian.org, bash-completion-devel@lists.alioth.debian.org
Subject: Re: [Bash-completion-devel] Bug#506560: say how to start using
Date: Sun, 23 Nov 2008 01:23:20 +0800
DP> Fixed in bzr rev1207:

DP> ---8<---
DP> [..]
DP> Debian/GNU Linux or Ubuntu, etc. You still need to source it from either
DP> /etc/bashrc or ~/.bashrc (or any other file sourcing those). You can do
DP> this by simply using:

DP> # Use bash-completion, if available
DP> if [ -f /etc/bash_completion ]; then
DP>   . /etc/bash_completion
DP> fi

DP> (if you happen to have *only* bash >= 2.04, see further if not)
DP> [..]
---> 8---

Looks like wherever you put that is not enough for clods like me to
notice. You need a README.debian file...




Tags added: pending, confirmed Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Fri, 16 Jan 2009 22:12:07 GMT) (full text, mbox, link).


Reply sent to David Paleino <d.paleino@gmail.com>:
You have taken responsibility. (Sat, 04 Apr 2009 14:09:16 GMT) (full text, mbox, link).


Notification sent to jidanni@jidanni.org:
Bug acknowledged by developer. (Sat, 04 Apr 2009 14:09:16 GMT) (full text, mbox, link).


Message #40 received at 506560-close@bugs.debian.org (full text, mbox, reply):

From: David Paleino <d.paleino@gmail.com>
To: 506560-close@bugs.debian.org
Subject: Bug#506560: fixed in bash-completion 1:1.0-1
Date: Sat, 04 Apr 2009 13:47:05 +0000
Source: bash-completion
Source-Version: 1:1.0-1

We believe that the bug you reported is fixed in the latest version of
bash-completion, which is due to be installed in the Debian FTP archive:

bash-completion_1.0-1.diff.gz
  to pool/main/b/bash-completion/bash-completion_1.0-1.diff.gz
bash-completion_1.0-1.dsc
  to pool/main/b/bash-completion/bash-completion_1.0-1.dsc
bash-completion_1.0-1_all.deb
  to pool/main/b/bash-completion/bash-completion_1.0-1_all.deb
bash-completion_1.0.orig.tar.gz
  to pool/main/b/bash-completion/bash-completion_1.0.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 506560@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <d.paleino@gmail.com> (supplier of updated bash-completion package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 03 Apr 2009 14:21:43 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:1.0-1
Distribution: unstable
Urgency: low
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Changed-By: David Paleino <d.paleino@gmail.com>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 272660 322238 360628 361535 489927 491856 492328 492476 494292 495142 495883 496162 496828 497074 497597 498105 499780 500316 501473 501843 502664 502804 502885 503317 503317 504141 504547 504650 506560 511789 511790 512556 512823 512917 516614 521041
Changes: 
 bash-completion (1:1.0-1) unstable; urgency=low
 .
   * New upstream release:
     - also see /usr/share/doc/bash-completion/CHANGES.gz
     - fix man -l completing filenames (Closes: #497074)
     - (Partly) fixed java classes completion (Closes: #496828). Look for
       FIXME in source.
     - dump to /dev/null error message from look(1) with no arguments
       (Closes: #495142)
     - set ssh as default for rsync (was rsh) (Closes: #492328)
     - added .oga, .ogv, .ogx to mplayer completion (Closes: #496162)
     - added .epub to unzip|zipinfo completion (Closes: #492476)
     - added ssh-copy-id completion (Closes: #491856)
     - moved ssh completion to separate file (Closes: #360628)
     - bogus completion when mounting subdirs fixed (Closes: #322238)
     - fix `apt-cache showsrc` completing only on source package names
       (Closes: #361535)
     - fixed bugs with gdb completion:
     - when an empty directory is in $PATH (thanks to Morita Sho)
       (Closes: #497597)
     - when a non-existing directory is in $PATH (Closes: #499780)
     - fix missing completion for "-n" and "-e" (we were using echo, now
       using printf) (thanks to Morita Sho) (Closes: #498105)
     - fixed gpg completion --@(export|@(?(l|nr|nrl)sign|edit)-key))
       (Closes: #500316)
     - fixed .cb[rz] completion for evince (Closes: #502885)
     - added gpg2 completion (Closes: #489927)
     - fixed mplayer -skin completion (Closes: #501473)
     - fixed errors with POSIX enabled (Closes: #502804)
     - fixed dpkg-source wrong exit() with return() (Closes: #503317)
     - added --schedule-only to aptitude's completion (Closes: #502664)
     - added build-dep to aptitude's completion (Closes: #495883)
     - added support for `-F configfile' to _known_hosts(), ssh, scp and
       sftp, thanks to Freddy Vulto (Closes: #504141)
     - fixed sed quoting bug in _known_hosts(), thanks to Freddy Vulto
       (Closes: #504650)
     - allow for comments in known_hosts files (Closes: #511789)
     - fixed perl -I/-x completion, thanks to Freddy Vulto
       (Closes: #504547)
     - README updated: explain how to use bash-completion correctly.
       (Closes: #506560)
     - added qdbus completion, thanks to Terence Simpson (LP: #257903)
     - fixed completion of environment variables, thanks to Morita Sho
       (Closes: #272660)
     - fix dpkg completion bug: it listed only non-Essential packages
       (Closes: #511790)
     - fixed _dpkg_source completion (Closes: #503317)
     - remove unused UNAME local variable in _info() (Closes: #501843)
     - added .zip to jar completions (Closes: #521041)
     - Merge from Ubuntu:
       + consume error messages in configure completion (LP: #223882)
         (Mika Fischer)
       + quote $xspec in _filedir_xspec in case it is empty, which would
         cause errors if there was no match under failglob. (LP: #194419)
         (Mika Fischer)
     - Ville Skyttä:
       + remove duplicate cpio completion, thanks to Freddy Vulto
         (Closes: #512823)
       + fix awk error in "modprobe -r /" completion (Closes: #512556)
     - Jakob Unterwurzacher:
       + ps2pdf can run on .pdf files as well.
         (Closes: #516614, LP: #316943)
   * debian/links fixed (Closes: #494292)
   * debian/control:
     - fixed typo in the long description
     - added Vcs-* fields
     - Standards-Version to 3.8.1
     - DMUA set
     - removed Luk Claes from Uploaders
     - Homepage added
   * debian/install:
     - correctly install contrib/* under /etc/bash_completion.d/
   * debian/copyright updated
   * debian/extra/dh_bash-completion:
     - updated to support a list of files in debian/<package>.bash-completion
       (Closes: #512917)
   * debian/rules:
     - install upstream CHANGES and AUTHORS too
Checksums-Sha1: 
 977d1414ca3556a4ad46aa2b48b9ca8e6e86a603 1308 bash-completion_1.0-1.dsc
 61040795731f5ff509c46e818a1edf0a7a93e11d 143578 bash-completion_1.0.orig.tar.gz
 49c583802082e3aa9a761fb0da0d5ec257f257bb 9002 bash-completion_1.0-1.diff.gz
 cb38e807d9b23e84b866e6e9d24814991a61836a 103010 bash-completion_1.0-1_all.deb
Checksums-Sha256: 
 d369f9436c02262d3de898564cd9b5269ace760cf6b7e0632e3b251ac431f2b5 1308 bash-completion_1.0-1.dsc
 bd96e7d2858f02783046908a984993736f1189d07d82e9ce4b465068dd7187ef 143578 bash-completion_1.0.orig.tar.gz
 04c46eff31bf9dfb9e79f417bd79706b6dc67888461ab05128b29cff78c9556b 9002 bash-completion_1.0-1.diff.gz
 81ab4b27a2158e787ea39c7da34619858a5df6b6251ba24d8bda6592feed46f4 103010 bash-completion_1.0-1_all.deb
Files: 
 6cb01d355c4519f911820b2b7c0feb53 1308 shells standard bash-completion_1.0-1.dsc
 cd1c5648272917fbe0eef4ba30bb93f4 143578 shells standard bash-completion_1.0.orig.tar.gz
 e78d5e31ed66fb5e97c77ea7c9f1b343 9002 shells standard bash-completion_1.0-1.diff.gz
 aefc9e1c8db0f4f2b61557c2e207ca0c 103010 shells standard bash-completion_1.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknXYZAACgkQ5UTeB5t8Mo0jGACfQVygJmdQ3v4i/dymRnZSVnhA
qHoAnjcS99HMQgFHzQ2NnNAY1OPvlPK6
=6i7t
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 13 May 2009 07:31:05 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 10:02:46 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.