View Single Post
Old 09-24-2002, 08:30 PM   #4 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
Well, the type of file you describe is more the type of thing you'd put in your ~/.bashrc file, or the file that holds some configuration that you want available at each login. In order to make those aliases available, you wouldn't need to execute the script, just 'source' the script on boot. So what I'd do is create a file called ~/.bashrc and put the same alias lines in, and the next time you login those aliases will be available for use.

Other than that, I'd guess that the reason you weren't able to use the file is because you didn't actually save it to ~/bin/myenv. If you added ~/bin to your PATH, the directory must exist, and all scripts and binaries you want to use must be within that directory.
bdl is offline   Reply With Quote