touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #38423
[Bug 1173728] Re: bash programmable completion not loaded by default
So to be clear, the changes I'm suggesting are:
* /etc/skel/.bashrc (pkg=base-files) change the progcomp check to an un-commented
# enable programmable completion
[[ -e /etc/profile.d/bash_completion.sh ]] && . /etc/profile.d/bash_completion.sh
* /etc/bash.bashrc (pkg=bash): remove the progcomp commented-out section, maybe replace with a comment like:
# enable programmable completion with this line, here or (default) in ~/.bashrc
# [[ -e /etc/profile.d/bash_completion.sh ]] && . /etc/profile.d/bash_completion.sh
Root's /root/.bashrc doesn't come into play on an ubuntu system,
normally. Even if you use sudo -s, HOME doesn't change, so you still get
your own ~/.bashrc
If you're mucking around with testing corner cases, put
echo "bash_completion callstack: ${BASH_SOURCE[*]}"
in /usr/share/bash-completion/bash_completion to get output like
bash_completion callstack: /usr/share/bash-completion/bash_completion /etc/profile.d/bash_completion.sh /home/peter/.bashrc
Or drop that line into /etc/bash_completion.d/trace, if you don't want
to modify a non-conffile.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1173728
Title:
bash programmable completion not loaded by default
Status in base-files package in Ubuntu:
New
Status in bash-completion package in Ubuntu:
Confirmed
Bug description:
I don't know it's bug or feature, but [TAB] autocomplete won't work
with sudo on 13.04 (and 12.10 too). To fix this, you need to uncomment
some lines in /etc/bash.bashrc and then [TAB] autocomplete will work.
http://askubuntu.com/questions/209778/auto-completion-does-not-work-
for-sudo-apt-get-install
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bash 4.2-5ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Sat Apr 27 22:03:33 2013
InstallationDate: Installed on 2013-04-26 (1 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1173728/+subscriptions