开发者

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

开发者 https://www.devze.com 2022-12-19 21:32 出处:网络
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

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开发者_C百科 there a shell option or setting I can use to set this.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号