Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a bin directory in my home directory.

I would like for the Run: shortcut to search that bin directory as well.

How do I add it to the Run search path?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Maybe by adding something as follow in the /etc/profile file?

export PATH=~/bin:$PATH

If you have problems with the tilde (~), try /home/$USER/bin. If you're the only user on that computer anyway, you can always use /home/ranson/bin, of course.

Notes:

  1. you can also do that in your own ~/.profile file in which case the /home/ranson/bin path will work as is:

    export PATH=/home/ransom/bin:$PATH

  2. you'll have to log out and log back in for that change to take effect.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.