Re: Command Line Completion for Programs?
On Thu, 13 Jan 2005 07:35:42 -0800, Kirchner, Patrick
<Patrick.Kirchner@earthtech.com> wrote:
> # enable bash completion in interactive shells
> if [ -f /etc/bash_completion ]; then
> . /etc/bash_completion
> fi
>
> If someone could assist me I would be most appreciative.
It sounds like a sourcing issue. Stick some exports in
/etc/bash.bashrc and /etc/bash_completion, like
export BASH_DOT_BASHRC_WAS_SOURCED
export BASH_COMPLETION_WAS_SOURCED
or similar, and see if they are set for your terminal. If not, you
need to read up on when various dot files are sourced.
--
Jon Dowland
http://jon.dowland.name/
Reply to: