Migrate everything to GNU Stow locations instead of homeshick
This commit is contained in:
parent
54587a49ff
commit
82c930f4d5
24 changed files with 1 additions and 5 deletions
5
.zsh/functions/composer
Normal file
5
.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 "$@"
|
2
.zsh/functions/enphp
Normal file
2
.zsh/functions/enphp
Normal file
|
@ -0,0 +1,2 @@
|
|||
#! zsh
|
||||
cat $argv | php -r 'echo serialize( json_decode( file_get_contents( "php://stdin" ) ) );'
|
7
.zsh/functions/fancy-ctrl-z
Normal file
7
.zsh/functions/fancy-ctrl-z
Normal file
|
@ -0,0 +1,7 @@
|
|||
#! zsh
|
||||
if [[ -z $BUFFER && -n $jobstates ]]; then
|
||||
BUFFER=" fg"
|
||||
zle accept-line
|
||||
else
|
||||
zle self-insert '^Z'
|
||||
fi
|
2
.zsh/functions/unphp
Normal file
2
.zsh/functions/unphp
Normal file
|
@ -0,0 +1,2 @@
|
|||
#! zsh
|
||||
cat $argv | php -r 'echo json_encode( unserialize( file_get_contents( "php://stdin" ) ) );'
|
Loading…
Add table
Add a link
Reference in a new issue