[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash command completion



On Wednesday 06 July 2016 22:52:58 Glenn English wrote:
> > On Jul 6, 2016, at 2:29 PM, Charlie Kravetz <cjk@teamcharliesangels.com>
> > wrote:
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > 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
>
> There were.
>
> > You usually have to uncomment these lines.
>
> I did and logged out and back in, and rebooted, but no change; it's still
> bent.

So have you followed the suggestion to test whether it is in fact bash that 
you are in fact using?

lisi@Tux-II:~$ echo $SHELL
/bin/bash
lisi@Tux-II:~$

Lisi



Reply to: