I would think `export PATH="$HOME/.composer/vendor/bin:$PATH"`should be enough.

Why do you need to add it to `.bashrc`?