Julian Mann
Julian Mann

Reputation: 6476

How do I set environment variable completion in a bash shell on mac

In a bash shell on linux, if I type:

echo $DISP

and hit tab, it completes to:

echo $DISPLAY

It doesn't work in bash on OSX 10.5, and I'm using the same .bashrc

Is there a shell option or setting I can use to set this.

Upvotes: 0

Views: 840

Answers (2)

ghostdog74
ghostdog74

Reputation: 342433

I don't know if its what you want, but how about this?

Upvotes: 1

user262976
user262976

Reputation: 2074

you may need to install bash_completion from darwin ports (http://bash-completion.darwinports.com/)

Upvotes: 3

Related Questions