To add ~/bin to $PATH try this -
Quote:
You need then to edit the “.bashrc” file which is a hidden file in your home folder. You would therefore first need to make Ubuntu show your hidden files. In the menu bar on the top of the file browser window, select “View/Show Hidden Files” and check the mark .
Then find the file “.bashrc” file and open it with the text editor. You would then need to append a line or two to the file. For example, if you would like to add the path~/bin, you would need to add the following line to the file:
PATH=~/bin:”${PATH}”
|
EDIT:
Source