Ok guys, my solution in the end was:

- create a ~/.bash_profile file
- write:
export PATH=/usr/local/bin:$PATH
- restart the terminal

I do not know very well all the path-config files and the real order they 
are read. I only know a few unix commands..
My current files in ~/ are:

> ~/.profile:

if [ -f ~/.bashrc ];
    source ~/.bashrc

> ~/bashrc:

. ~/bin/dotfiles/bashrc

then in . ~/bin/dotfiles/bashrc

. ~/bin/dotfiles/bash/env
. ~/bin/dotfiles/bash/config
. ~/bin/dotfiles/bash/aliases

and in . ~/bin/dotfiles/bash/env:

export PATH=/usr/local/bin:/opt/local/bin:/opt/local/sbin:$PATH

. ~/bin/dotfiles/bash/config is just empty

and . ~/bin/dotfiles/bash/aliases contains some alias commad.

Anyway, it SHOULD have read ~/bin/dotfiles/bash/env, but it doesn't. Or it 
reads it only after /etc/paths

~/.bash_profile is read first instead.

My current /etc/paths:


My current echo $PATH


So IT WORKS, but it's quite a mess, since I've got 2 
/usr/local/bin AND an /usr/local/git/bin

Also, I cannot understand WHY now it works, since /usr/local/bin only 
contains bbedit commands:


Can anyone explain me the these mechanics? :P Or Maybe I should post this 
question to some Unix group?

Thank you

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to