Bash Profile

Example bashprofile:

> sudo vim /Users/myname/.bash_profile

export PATH=/usr/local/opt/openssl/bin:$PATH
export PATH=/usr/local/git/bin:$PATH
export PATH=/Applications/MAMP/bin/php/php5.5.26/bin:$PATH
#export PATH="$HOME/.composer/vendor/bin:$PATH"
export PATH="$PATH:$HOME/.composer/vendor/bin"
alias drupalcs="phpcs --standard=Drupal --extensions='php,module,inc,install,test,profile,theme,js,css,info,txt'"

alias drupalcbf="phpcbf --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,js,css,info,txt,md"

Comments

Popular posts from this blog

Programatically create layout builder section in Drupal

Code quality analysis of Drupal. Can I use Sonar?

Set up Drupal7 to Drupal8 migration in simple steps (using Drush)