You can add the current directory (.) to your path.
This is not a recommended practice though as you might run something sometime that you didn't intend to.
A better idea is to keep all your code in a given directory (e.g. ~/bin) and add that to your path.
You can do that in your .profile, if you're using bash, with this line
export PATH=$PATH:$HOME/bin
John
Last edited by jkobrien; 07-30-2004 at 06:28 AM.
|