Skip to content

Instantly share code, notes, and snippets.

@mfdj
Last active December 15, 2016 22:37
Show Gist options
  • Save mfdj/20db9404b84bb4ebc934c57f9f97d4f3 to your computer and use it in GitHub Desktop.
Save mfdj/20db9404b84bb4ebc934c57f9f97d4f3 to your computer and use it in GitHub Desktop.
~/.bash_profile for magento1 vagrant environment
cd /vagrant
alias mage='n98-magerun.phar'
alias cf='mage cache:flush'
alias dis='mage cache:disable'
alias en='mage cache:enable'
alias compare='mage sys:set:compare-v'
alias run='mage sys:setup:run'
alias xdebugon="sudo sed -i 's~;zend_extension~zend_extension~' /etc/php.d/15-xdebug.ini; sudo service php-fpm restart"
alias xdebugoff="sudo sed -i 's~^zend_extension~;zend_extension~' /etc/php.d/15-xdebug.ini; sudo service php-fpm restart"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment