summaryrefslogtreecommitdiff
path: root/plugins/colorize
diff options
context:
space:
mode:
authorLE Manh Cuong <manhcuongle@hotmail.com>2015-09-28 16:05:22 +0700
committerLE Manh Cuong <manhcuongle@hotmail.com>2015-09-28 16:05:22 +0700
commit758195cb791556c3f5268e7e075f3ab55bcd5e90 (patch)
tree4481d6ad4f6f862a5ab19875fa0bda49695fdf85 /plugins/colorize
parentb05ef1034fffd7b0c29f1558a8a357ccce7ae74b (diff)
downloadzsh-758195cb791556c3f5268e7e075f3ab55bcd5e90.tar.gz
zsh-758195cb791556c3f5268e7e075f3ab55bcd5e90.tar.bz2
zsh-758195cb791556c3f5268e7e075f3ab55bcd5e90.zip
Encode64 Plugin - Fix wrong `echo` usage
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.
Diffstat (limited to 'plugins/colorize')
0 files changed, 0 insertions, 0 deletions