0

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.

Chealion
  • 25,408
  • 8
  • 67
  • 75
cfischer
  • 8,973
  • 11
  • 37
  • 42

1 Answers1

5

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

Why is . not in the path by default?

Ignacio Vazquez-Abrams
  • 111,361
  • 10
  • 201
  • 247