Initial commit, modular zsh config easy to extend with extra behaviours
This commit is contained in:
commit
df6164e3aa
22 changed files with 154 additions and 0 deletions
5
home/.zsh/functions/composer
Normal file
5
home/.zsh/functions/composer
Normal 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 "$@"
|
Loading…
Add table
Add a link
Reference in a new issue