Mail Archives: djgpp/1998/04/04/01:26:17
At 12:10 4/3/1998 -0800, Carlos Alcalde wrote:
>I have not been able ( by editting .bashrc and _bashrc (I tried both just to
>be safe) ) to direct my path so that under bash I can execute a command
>located in my current directory. Under Linux I just add :. to my path. DJGPP
>shows the addition when typing env but only the path from autoexec.bat gets
>implemented. Any ideas?
`bash' uses the DOS-ish scheme of `;'-separated PATH elements. My version
(1.14.7) appends `;.' to the end of PATH automagically, so commands in the
current directory should work without needing any changes. The following
might help to figure this out:
* Version of `bash' you use (run `bash -version')
* Output of `printenv PATH' from command.com
* Ditto, from `bash'.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -