For some reason my ~/.profile script is not run after startup and I need to do a "source .profile" the first time I start a terminal.
How can I solve this?
(I have done a chmode 755 to my profile script).
This is my script:
Code: Select all
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then