I'd like to add the current dir to the path so i don't have to keep typing stuff like ./a.out over and over. I also recall someone saying it was a bad idea, but don't remember why. I Windows and DOS it's a common practice…

BTW, I'm using bash and Mac OS X.


Where does $PATH get set in OS X 10.6 Snow Leopard?

Why is . not in the path by default?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.