Initial commit, modular zsh config easy to extend with extra behaviours

This commit is contained in:
Danielle McLean 2016-10-02 18:17:25 +11:00
commit df6164e3aa
No known key found for this signature in database
GPG key ID: CC91589719027E94
22 changed files with 154 additions and 0 deletions

View file

@ -0,0 +1,5 @@
#! zsh
# Composer runs significantly faster if xdebug is unloaded.
local conf="$(php -r 'echo dirname(php_ini_loaded_file());')"
(cd $conf; rsync -ar --delete-after --exclude ext-xdebug.ini conf.d/ conf-without-xdebug.d/)
PHP_INI_SCAN_DIR=$conf/conf-without-xdebug.d php =composer "$@"