Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243630

Re: why bash completion sometimes doesn't work?

From Richmond <richmond@criptext.com>
Newsgroups linux.debian.user
Subject Re: why bash completion sometimes doesn't work?
Date 2022-01-03 15:50 +0100
Message-ID <DBwOU-16h-25@gated-at.bofh.it> (permalink)
References <DBo4V-4oV-3@gated-at.bofh.it> <DBo4V-4oV-1@gated-at.bofh.it> <DBuDn-8jx-5@gated-at.bofh.it>
Organization Frantic

Show all headers | View raw


Greg Wooledge <greg@wooledge.org> writes:

> By default, Debian installs the bash-completion package, which contains
> programmable completions for a whole bunch of commands.  This is
> enabled by dotting in a file from ~/.bashrc (the code to do this is
> at the end of /etc/skel/.bashrc, which becomes the default user ~/.bashrc
> file if you add users with "adduser").
>

Reading this has solved something which has puzzled me for some time. My
.bashrc is a leftover from when I was running Opensuse, and so bash
completion has never quite worked properly on the su command. Now I have
copied /etc/skel/.bashrc and it is working!

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-03 06:30 +0100
  Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-03 13:30 +0100
    Re: why bash completion sometimes doesn't work? Richmond <richmond@criptext.com> - 2022-01-03 15:50 +0100
    Re: why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-03 21:20 +0100
      Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-03 21:30 +0100
      Re: why bash completion sometimes doesn't work? David Wright <deblis@lionunicorn.co.uk> - 2022-01-03 22:50 +0100
        Re: why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-04 01:00 +0100
          Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-04 03:30 +0100
            Re: why bash completion sometimes doesn't work? Long Wind <longwind2@yahoo.com> - 2022-01-04 03:50 +0100
              Re: why bash completion sometimes doesn't work? Greg Wooledge <greg@wooledge.org> - 2022-01-04 04:00 +0100
            Re: why bash completion sometimes doesn't work? David Wright <deblis@lionunicorn.co.uk> - 2022-01-04 20:40 +0100

csiph-web