Setting locale for individual programs

Dotan Cohen dotancohen at gmail.com
Tue Jul 11 19:18:38 UTC 2006


On 11/07/06, Peter Garrett <peter.garrett at optusnet.com.au> wrote:
> On Tue, 11 Jul 2006 21:55:02 +0300
> "Dotan Cohen" <dotancohen at gmail.com> wrote:
>
> > Never mind, I logged out and then back in and it works. Thank you!
>
> You could have just done
>
> source ~/.bashrc
>
> to make it re-read the file without needing the logout/login  :-)
>
> Peter

Thanks,  I'll remember that!

But I spoke too soon. ~/bin is now in my path, but if I name a script
the same name as a program, say firefox, then the 'real' program is
executed. So I put the new path at the _beginning_ of the line,
thinking that would help, but it didn't:
export PATH=/home/dotancohen/bin:$PATH

Now, even though I've a file named firefox, the 'real' firefox gets
launched. How do I command it to look in ~/bin _before_ it looks in
/usr/bin?

Thanks.

Dotan Cohen
http://what-is-what.com




More information about the ubuntu-users mailing list