diff --git a/config/zsh/all/functions b/config/zsh/all/functions index 566dc7b..e9979a9 100644 --- a/config/zsh/all/functions +++ b/config/zsh/all/functions @@ -2,5 +2,5 @@ # 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 # to call one in a script so non-interactive shells need them. -autoload composer enphp unphp +autoload enphp unphp autoload -Uz zargs zmv diff --git a/config/zsh/functions/composer b/config/zsh/functions/composer deleted file mode 100644 index 1a4caf8..0000000 --- a/config/zsh/functions/composer +++ /dev/null @@ -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 "$@"