Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm an OS X user who's used to ssh'ing into various Linux machines. Recently, I installed Ubuntu on one of our servers and have noticed very different tab completion behavior in bash. Among other things, the completion only works for certain files types and is dependent on the context. Also, shell variables are no longer expanded

OS X is using GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin12), while our linux server is using GNU bash, version 4.2.37(1)-release (x86_64-pc-linux-gnu). I'm guessing the behavior difference is due to the major version bump, but no amount of adjusting the /etc/bash_completion seems to make the linux behavior operate like the OS X version.

Is there some way to make the linux version behave the same way? Is it as simple as installing bash 3.2 (or is that going to cause even more issues)?

share|improve this question
1  
Don't source /etc/bash_completion –  jordanm Apr 20 '13 at 3:06
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.