Ubuntu: Gnome terminal is not running source .bashrc?


I have a clean installation of Ubuntu 12 and I installed bashmarks, a utility to have favorites folders on the terminal.

One of the steps is to include source ~/.local/bin/bashmarks.sh at the end of ~/.bashrc, so each time you open a terminal it loads bashmarks.

If I run source manually it starts working, but when I open a terminal is not sourced automatically.


Sounds like a double to this question. It might be that the bash in your terminal is a login shell what means .bashrc is not sourced.


The problem may be that the tilde expansion is not working at the time that .bashrc is being run. It may work if you either put the full directory, or use $HOME instead of the tilde.

Looking at my system-supplied .profile, they run .bashrc, if available, by using this command: "$HOME/.bashrc"

Perhaps you should try a similar statement:


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »