-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 6 Jul 2016 13:48:24 -0600
Glenn English <g...@slsware.net> wrote:

>I put wheezy on a 386 computer last night ('aptitude dist-upgrade' from 
>squeeze -- it'd been in the junk box for a while), and when I hit tab, bash 
>just gives me a tab -- I have to type the whole command manually. This happens 
>only for the user; root works fine.
>
>I've copied the .* scripts (the ones that looked relevant to me, anyway) from 
>/root and from a user directory on one of the (wheezy) servers, and 
>accomplished nothing. 
>
>I looked at the scripts in /etc, but saw nothing that looked promising -- 
>there was some talk about bash-completion, but I could see nothing in those 
>scripts about a difference between user and root.
>
>A solution or a link to a solution would be much appreciated. 
>

There should be a set of commands towards the bottom
of /etc/bash.bashrc to enable completion. The commands are:

# enable bash completion in interactive shells
#if ! shopt -oq posix; then
#  if [ -f /usr/share/bash-completion/bash_completion ]; then
#    . /usr/share/bash-completion/bash_completion
#  elif [ -f /etc/bash_completion ]; then
#    . /etc/bash_completion
#  fi
#fi

You usually have to uncomment these lines. 

- -- 
Charlie Kravetz
Linux Registered User Number 425914
[http://linuxcounter.net/user/425914.html]
Never let anyone steal your DREAM.   [http://keepingdreams.com]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXfWpEAAoJEIqui46mydCAsLwH/130072ceXgYS+L7azOWYV5G
GiIRhRDYvV79MltABY/kqKflEcGZvZWWuTY3UgO+a1RuUupYjVJyhn8rDK/pwT2R
Omb6oIDO+t6TcL42KnCHVwLIEQdIG6kW3BvU8YXFxfraytODPhwJl0QWgrlf3vuv
Xn82XzjaDrKk/CsfmwLCM4kSL792XmXVciI22FMEWad2PuupIpRLCZOCclxVGTBf
2hdzdoSJF1L0PPDGOx9WmkQuEaU0C+DqpvD1UloiFZ6Z/tl2+qbfGmYTpo/SHcHV
lDLTGvV8yzlfKQtA1PqJxbpnbweKScoaGYVAFZkSblPC7VCQOjuxKT7Po8LwXuI=
=NbOP
-----END PGP SIGNATURE-----

Reply via email to