Bash programmable completion of variable names

Barry Pohlman barry.pohlman at gmail.com
Mon Jun 22 07:22:09 UTC 2009


Have you compared the .bash_rc files yet. They are located in the home
directory of the account you are logged into. The sub shell settings are
in there. bash_logout and bash_profile are only run on login shells.

Good Luck



Hal Burgiss wrote:
> I have a number of Ubuntu systems. On just one the tab expansion of shell
> variables does not "work" as expected. Other types of completion work just
> fine. And on all the other systems, tab completion of variables works fine.
> For the life of me I cannot find where/how to turn this aspect on. I find
> plenty of references of this on google, but not really troubleshooting type
> help.
> 
> So on all systems except one, 
> 
>  cd $c/<TAB> ... expands to 
>  cd /var/system/clients
> 
> on the problem system I get:
> 
>  cd $c/<TAB>
>  cd \$c
> 
> $c is defined identically on all systems.
> 
> Thanks.
> 





More information about the ubuntu-users mailing list