Reputation: 181
I'm sure this is a fairly simple problem, but I've put together a .bashrc file (located in my home directory) It includes my PS settings, some environmental exports and some aliases. First, I've read that these aren't all supposed to go into a .bashrc file but instead to include some of it in .bash_profile If I include a .bash_profile file then none of the changes make any effect. If I keep everything as one long .bashrc file then everything works as planned....once "exec bash" is entered at the command line. Every time I start my unix environment however, I have to type "exec bash" in order for everything to work. Am I just missing something really simple here? Sorry if this has been answered, a search didn't really bring up anything useful (could be my poor search!)
Upvotes: 1
Views: 909
Reputation: 41116
According to [Man7]: chsh(1) (or man chsh
), you should run:
chsh -s /bin/bash
Note: On some Nix distributions, location might be: /usr/bin/bash.
Upvotes: 2