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

bash completion does not work over ssh except as root




Dear People,

I have noticed that bash completion only works on a remote machine I have sshed into, if I log in as root. This is obviously a case of something not being sourced correctly, but I am not sure what the problem is.

Can anyone tell me how to solve this, or if not, confirm the problem?
I use bash completion heavily so it is an annoying bug.

I have this in .bash_profile on both the remote and local machines, but it does not solve the problem.

****************************************************************
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

umask 022

# the rest of this file is commented out.

# include .bashrc if it exists

if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi
...
***************************************************************

I'm tracking Sarge. Please cc me, I'm not subscribed. Thanks.

                                                               Faheem.



Reply to: