Return to Snippet

Revision: 24781
at March 11, 2010 03:16 by berkes

Initial Code
# enable bin diretory in PATH when found
if [ -a ~/bin ]; then

Initial URL

Initial Description
Put this line in your .bashrc. 
If the user has a directory named 'bin' then that will be added to the PATH.
All scripts in that path (wich are executable) will be available as commands to that user.

Initial Title
If a 'bin' exists in the user home, then add that to the PATH.

Initial Tags
Bash, linux

Initial Language