Remove the 'composer' wrapper function since now I'm just disabling xdebug all the time, except when I actually need to use it - this gives way better perf
This commit is contained in:
parent
255577e4fb
commit
b714bd1312
2 changed files with 1 additions and 6 deletions
|
@ -2,5 +2,5 @@
|
||||||
# autoloaded functions must be declared in every kind of zsh: they aren't
|
# autoloaded functions must be declared in every kind of zsh: they aren't
|
||||||
# inherited in the environment so non-login shells need them, and you'll want
|
# inherited in the environment so non-login shells need them, and you'll want
|
||||||
# to call one in a script so non-interactive shells need them.
|
# to call one in a script so non-interactive shells need them.
|
||||||
autoload composer enphp unphp
|
autoload enphp unphp
|
||||||
autoload -Uz zargs zmv
|
autoload -Uz zargs zmv
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#! 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 "$@"
|
|
Loading…
Reference in a new issue