Ubuntu

ubuntu maverick - bash auto-completion (Tab) works only for first word

Reported by Stevo Vukovic on 2010-10-19
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: gnome-terminal

After fresh install of Maverick (64 bit Final Ubuntu 10.10 on 2010.10.10, HP laptop, Intel dual-core processor) bash completion works only for first word, like just for "sudo". For "sudo apt-g" there is no result, not even for 2 press on Tab. On same USB live session from install disk auto completion works flawlessly.
On my desktop I have had install Ubuntu 10.10 RC (updated regularly) and auto completion works.
MD5SUM are correct.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-terminal 2.32.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Tue Oct 19 19:20:43 2010
ExecutablePath: /usr/bin/gnome-terminal
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1574): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:1570): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed

Stevo Vukovic (stevovukovic) wrote :
Pedro Villavicencio (pedro) wrote :

that's not a gnome-terminal issue.

affects: gnome-terminal (Ubuntu) → ubuntu
Stevo Vukovic (stevovukovic) wrote :

I acted as I was advised last time when I reported a bug. You do not have to be so rude. Your comment was unnecessary.

Book 'em Dano (heymrdjd) on 2010-10-28
affects: ubuntu → bash-completion (Ubuntu)
clemmy (luca-clem) wrote :

To enable bash competion in maverick:

open a terminal and type
sudo gedit /etc/bash.bashrc

find the lines
#if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
# . /etc/bash_completion
#fi

uncomment them by removing the # character (the will look this way)
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi

save the file, close gedit, close the terminal.

open th terminal again and bash completion should be work correctly

Philip Muškovac (yofel) wrote :

can you add your ~/.bashrc to this report please? bash_completion should be enabled there by default (no need to enable it in /etc/bash.bashrc which would work too of course)

~/.bashrc should have at the bottom:

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi

Ken Sharp (kennybobs) on 2012-07-06
Changed in bash-completion (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for bash-completion (Ubuntu) because there has been no activity for 60 days.]

Changed in bash-completion (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers