achiurizo / consular

Terminal automation
http://rdoc.info/github/achiu/consular/master/file/README.md
MIT License
813 stars 46 forks source link

bash started without --login #64

Open mackuba opened 13 years ago

mackuba commented 13 years ago

When I first set up Terminitor for my project, most commands didn't work because /usr/local/bin wasn't in the PATH. I found out that this was because Terminitor starts $SHELL in new tabs, and $SHELL points to /bin/bash, but calling /bin/bash starts Bash in non-login mode which doesn't read the contents of /etc/profile, only /bin/bash --login causes this file to load. I've fixed it by setting SHELL="/bin/bash --login" in .bash_profile, but I'm wondering if there isn't a better way to do this from inside Terminitor... If not, then maybe it's worth adding that to the docs? I suppose there must be more people than just me that have this problem.

der-flo commented 13 years ago

I also ran into this issue. What's the opinion of the UNIX cracks?