1
vote
1answer
631 views

Bash or sh cannot execute any binary files

While I am able to execute binaries, when the terminal is open, if I type: /bin/bash make or /bin/sh ls I get: /usr/bin/make: /usr/bin/make: cannot execute binary file Why is that? I am on ...
0
votes
1answer
51 views

Checking for MacPorts or Fink installed

I'm writing an install script for some software that depends on libUSB being installed however I need to check if macports or fink is installed, if they are not install homebrew. How can I check to ...
1
vote
1answer
60 views

Using MacPorts bash, tab completion no longer lists hidden / dot files

I used MacPorts to install bash (bash @4.3.8_0). I switched Terminal to use /opt/local/bin/bash as the command to startup. However, now when I type vim ~/.<tab><tab>, it no longer lists ...
1
vote
2answers
219 views

What options does Terminal pass to bash on startup?

In the Terminal preferences, I'm able to configure the Terminal to "Open shells with:" -> "Command (complete path):" /opt/local/bin/bash. What options is the terminal passing when invoking this ...
0
votes
1answer
2k views

Cleaning up my .bash_profile: Can I delete some of this?

I'm not a Unix guru. I'm running OS X 10.8.3 Mountain Lion. Today I removed Macports from my machine. I believe macports left some cruft in my `~/.bash_profile which I would like to remove (the ...
4
votes
1answer
2k views

Set default shell to MacPorts bash in Mac OS X 10.6.8?

As a follow up to my previous question, I reinstalled my MacPorts and want to try its newer version of bash again. I installed the newest bash via MacPorts on my Mac OS X 10.6.8 system, but when I ...
1
vote
1answer
292 views

How do I launch shell applications after changing shell to MacPorts bash?

I have installed a current bash version via MacPorts and changed Terminal.app to use /opt/local/bin/bash. Unfortunately shell applications won't launch from Finder and Spotlight anymore. (OSX 10.8.2, ...