Your message dated Sat, 10 Apr 2010 13:20:19 +0200
with message-id <201004101320.22...@home.hanskalabs.net>
and subject line Re: Bug#430501: /etc/skel/.bashrc: bash_completion example in 
default .bashrc should check for previous inclusion via $BASH_COMPLETION
has caused the Debian Bug report #430501,
regarding /etc/skel/.bashrc: bash_completion example in default .bashrc should 
check for previous inclusion via $BASH_COMPLETION
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
430501: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430501
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bash
Version: 3.1dfsg-8
Severity: wishlist
File: /etc/skel/.bashrc

bash_completion defines a variable $BASH_COMPLETION.  I use the following on
my ~/.bashrc, used on many systems, some of which enable bash_completion by
default in the system bash initialization files and some of which do not:

if [ -z "$BASH_COMPLETION" ] && [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

This includes /etc/bash_completion only if available and not already included.

- Josh Triplett

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc1 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash depends on:
ii  base-files                    4.0.0      Debian base system miscellaneous f
ii  debianutils                   2.21       Miscellaneous utilities specific t
ii  libc6                         2.5-11     GNU C Library: Shared libraries
ii  libncurses5                   5.6-3      Shared libraries for terminal hand

bash recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
On Saturday 10 April 2010 13:16:29, Matthias Klose wrote:
> On 10.04.2010 12:12, David Paleino wrote:
> > On Saturday 10 April 2010 12:00:17, Matthias Klose wrote:
> >> reassign 430501 bash-completion
> >> thanks
> >>
> >> I think that's the wrong thing to do. Resourcing the .bashrc should
> >> include all parts. if bash-completion is not safe to resource, please
> >> have a guard in bash-completion instead.
> >
> > What's wrong with:
> >
> > [ -f /etc/bash_completion ]&&  . /etc/bash_completion
> >
> > ?
> 
> if that does work, then nothing is wrong. what do you think is wrong?

Nothing, and I can't see why we should check for BASH_COMPLETION whatsoever 
(re the original bugreport).

Closing the bug,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|----
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to