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:
parent
ec375af15b
commit
93ff382dfe
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#! zsh
|
||||
cat $argv | php -r 'echo json_encode( unserialize( file_get_contents( "php://stdin" ) ) );'
|
Loading…
Reference in a new issue