Last active
May 21, 2016 18:19
-
-
Save mindesik/eab620cbef0c0db24e1e43c063d1fba4 to your computer and use it in GitHub Desktop.
Various .bash_aliases.sh functions
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
| # Disable xdebug when using composer | |
| function composer() { COMPOSER="$(which composer)" || { echo "Could not find composer in path" >&2 ; return 1 ; } && sudo phpdismod -s cli xdebug ; $COMPOSER "$@" ; STATUS=$? ; sudo phpenmod -s cli xdebug ; return $STATUS ; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment