I created the folder
$HOME/bin and put some symbolic links in there.
Furthermore I set the checkbox
Run command as login shell (according to this question) in the Terminal properties.
Now when I type
echo $PATH I see that the bin directory wasn't appended to PATH. I tried to put this (which was default):
if [ -d "$HOME/bin" ] ; then export PATH="$HOME/bin:$PATH" fi
.bashrc but nothing worked.
Do you know what's going wrong here?
Update: If I open a terminal and run
. ~/.bashrc the bin directory is appended to PATH correctly. But if I open a terminal and run
. ~/.profile it is not appended to PATH (for testing I included the if statment above in both of these files).
Furthermore I added
echo "in bashrc" to
.bashrc and when I open a terminal it prints "in bashrc", so it doesn't fail at loading bashrc (same test succesfull for