• LE Manh Cuong's avatar
    Encode64 Plugin - Fix wrong `echo` usage · 758195cb
    LE Manh Cuong authored
    Currently, encode64 plugin using `echo -n` to print the content
    of $1 variable. This approach will not work with arbitrary data,
    which contains sequence of escaped characters, since when many
    `echo` implementation will expand them.
    
    This commit chage the usage to `printf`, which is builtin in all
    POSIX shells and can print arbitrary data reliability.
    758195cb
encode64.plugin.zsh 123 Bytes