=== modified file 'common.zsh' --- common.zsh 2017-12-13 11:12:52 +0000 +++ common.zsh 2017-12-13 01:54:02 +0000 @@ -146,7 +146,10 @@ local base base=${BASE##*/} [[ -z $base || $base == '%' ]] && return - cat meta/$base + while (( $#base % 4 )); do + base+='=' + done + tr <<<$base _- /+ | base64 -d } decode_args() { === modified file 'functions/encode-args' --- functions/encode-args 2017-12-13 11:12:52 +0000 +++ functions/encode-args 2017-12-13 01:09:04 +0000 @@ -1,10 +1,6 @@ if (($#)); then - local data sha256sum - data=${(j::)${(oq)@}} - sha256sum=$(sha256sum <<<$data) || die - sha256sum=${sha256sum%% *} - printf '%s' $data >meta/$sha256sum || die - printf '%s' $sha256sum || die + base64 -w 0 <<<${(j::)${(oq)@}} | tr /+ _- | tr -d '=' + return $[ ${(j.|.)pipestatus} ] else echo -n '%' fi