Skip to content

Instantly share code, notes, and snippets.

@koriym
Last active September 13, 2016 05:34
Show Gist options
  • Save koriym/22fe68ebaf976e573c2002ac83403905 to your computer and use it in GitHub Desktop.
Save koriym/22fe68ebaf976e573c2002ac83403905 to your computer and use it in GitHub Desktop.
bash_profile
# macports
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# PHP
export PATH="/usr/local/php5/bin:$PATH"
# mysql
export PATH="/usr/local/mysql/bin/:$PATH"
# composer
export PATH="$HOME/.composer/vendor/bin:$PATH"
# npm
export PATH="./node_modules/.bin:$PATH"
# manual
export MANPATH="/opt/local/share/man:$MANPATH"
# php alias
alias phpx="php -dzend_extension=xdebug.so"
alias phpunitx="phpx $(which phpunit)"
alias phpmd="phpmd src text ./phpmd.xml"
alias phptest="phpmd src text ./phpmd.xml;phpcs;phpunit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment