Bug Fix: only add .bin directory for node environment

I was having some issues with my node path being messed up when I would cd to a directory. This fixed it on my linux machine. I don't have a Mac to try it on but you may want the same fix on the Mac machines?