-
-
Save tommcfarlin/c337af437e59084382597f57431db798 to your computer and use it in GitHub Desktop.
[Terminal, WordPress] A Primer in Bash for WordPress Developers
This file contains 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
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH" | |
export PATH |
This file contains 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
{ | |
"require": { | |
"squizlabs/php_codesniffer": "2.9.1", | |
"wp-cli/wp-cli" : "~1.2.1", | |
"psy/psysh" : "~0.8.6" | |
} | |
} |
This file contains 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
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
PATH="$HOME/.composer/vendor/bin:$PATH" | |
export PATH |
This file contains 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
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" | |
PATH="$PATH:$HOME/.composer/vendor/bin" | |
PATH="/Applications/MAMP/bin/php/php7.1.0/bin:$PATH" | |
export PATH |
This file contains 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
## Aliases to old versions of PHP. | |
alias php54="/Applications/MAMP/bin/php/php5.4.45/bin/php" | |
alias php55="/Applications/MAMP/bin/php/php5.5.38/bin/php" | |
alias php56="/Applications/MAMP/bin/php/php5.6.28/bin/php" | |
alias php70="/Applications/MAMP/bin/php/php7.0.13/bin/php" |
This file contains 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
source ~/.profile | |
PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin" # The standard system binaries | |
PATH="$HOME/.composer/vendor/bin:$PATH" # Composer binaries | |
PATH="/Applications/MAMP/bin/php/php7.1.0/bin:$PATH" # MAMP's PHP7 loaded first | |
PATH="/Applications/MAMP/Library/bin:$PATH" # MAMP's MySQL loaded first | |
## Aliases to old versions of PHP. | |
alias php54="/Applications/MAMP/bin/php/php5.4.45/bin/php" | |
alias php55="/Applications/MAMP/bin/php/php5.5.38/bin/php" | |
alias php56="/Applications/MAMP/bin/php/php5.6.28/bin/php" | |
alias php70="/Applications/MAMP/bin/php/php7.0.13/bin/php" | |
export PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment