On Thu, Jun 04, 2009 at 05:38:43PM +0200, Sven Joachim <svenj...@gmx.de> was 
heard to say:
> On 2009-06-04 18:16 +0200, Rodolfo Medina wrote:
> 
> > I did:
> >
> >  # aptitude purge mplayer
> >
> > .  After that, the bash completion was still working for the `mplayer' 
> > command,
> 
> That's because bash reads the completion code only once, when it starts
> up.  Try starting a fresh shell, e.g. with "exec bash".

  To expand on that: the bash completion stuff is actually stored in
/etc/bash_completion, which is part of the bash package.  When bash
starts up, it runs that file, which checks what software is installed
and enables the appropriate completion rules.

  So the mplayer completion rules will always be on your system, but
if bash doesn't see mplayer when it starts up, they won't be enabled.

  Daniel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to