lukgad / elt

Automatically exported from code.google.com/p/elt
0 stars 0 forks source link

Shell should read my .bash_profile #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Terminal window
2. Try to use aliases or the like you've defined in your .bash_profile
3. They are not available

What is the expected output? What do you see instead?

None of the customizations I have defined in my .bash_profile are available

What version of the product are you using? On what operating system?
1.0.0.20120718… Mac OSX 10.7.4

Please provide any additional information below.

Original issue reported on code.google.com by oliver.gierke@me.com on 19 Jul 2012 at 5:37

GoogleCodeExporter commented 9 years ago
Oliver,

Use .bashrc for that purpose. .bash_profile is for interactive login shells. 
Better move everything to .bashrc and modify profile to read like:

# /etc/skel/.bash_profile

# This file is sourced by bash for login shells.  The following line
# runs your .bashrc and is recommended by the bash info pages.
[[ -f ~/.bashrc ]] && . ~/.bashrc

Original comment by sergey.s...@gmail.com on 20 Jul 2012 at 11:22