Created
March 16, 2020 15:59
-
-
Save mklasen/12aaa9f48bc0d90c04ac143a136dddd4 to your computer and use it in GitHub Desktop.
MAMP Pro bash profile / .zprofile settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set MAMP's latest PHP version | |
PHP_VERSION=$(ls /Applications/MAMP/bin/php/ | sort -n | tail -1) | |
export PATH=/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH | |
# Add support for MYSQL (wp db commands) | |
export PATH=/Applications/MAMP/Library/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment