Remove the unphp function because PHP unserialisation is actually quite complex and is best handled with an actual PHP script rather than a tiny shell fnction

This commit is contained in:
Danielle McLean 2018-04-09 08:34:26 +10:00
parent ec375af15b
commit 93ff382dfe
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240
2 changed files with 1 additions and 3 deletions

View file

@ -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 enphp unphp
autoload enphp
autoload -Uz zargs zmv

View file

@ -1,2 +0,0 @@
#! zsh
cat $argv | php -r 'echo json_encode( unserialize( file_get_contents( "php://stdin" ) ) );'