![mamp sql on mac does not boot at startup mamp sql on mac does not boot at startup](https://www.mamp.info/en/mamp-pro/mac/MAMP-PRO-standard-vs-Expert-view.png)
Those run under a non-interactive shell so anything in. I say this is optional because is geared more toward advanced users where having your $PATH, $PAGER, or $EDITOR variables may be important for things like scripts that get called by launchd. This is where you set environment variables. It's typically a place where you "set it and forget it" type of parameters like $PATH, $PROMPT, aliases, and functions you would like to have in both login and interactive shells.
![mamp sql on mac does not boot at startup mamp sql on mac does not boot at startup](https://tech-cookbook.com/wp-content/uploads/2020/11/macOS-bigsur-mamp.png)
![mamp sql on mac does not boot at startup mamp sql on mac does not boot at startup](https://www.elegantthemes.com/blog/wp-content/uploads/2014/06/mamp-apache.png)
This sets the environment for interactive shells. Since Bash was the default shell for everything up to Mojave, stick with. zprofile are basically the same thing - they set the environment for login shells they just get loaded at different times (see below).zprofile is based on the Bash's. I posted a more narrowly scoped question on Unix & Linux and got some clarification on how these files "work." Here's the summary of that answer and what I've learned in my research as to what, in my opinion should be used in a ZSH environment on a Mac. This is an attempt to write a canonical QA for this issue, as per the Meta post: Where is the list of canonical questions stored for Ask Different? I expect it to be periodically edited with the goal of becoming a comprehensive information resource.