Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 3
    This will not work in Mac (at least not in the version I am using - Sierra) because simply doing that executes a no login shell which does not run the .bash_profile Commented Oct 23, 2018 at 8:47
  • @Ulukai apparently just typing . .bash_profile while inside your home directory on Mac will do the job. Same as the reply given above by 7urkm3n. Commented Oct 25, 2018 at 0:00
  • For macOS, the default shell was changed to Z shell beginning with macOS v10.15 (Catalina) (2019). Commented Jun 18, 2022 at 19:16