1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 18:31:59 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Carlo Sala
7e4ee3a3cd
fix(encode64): use proper encode file flags
Fixes #12509
2024-06-17 20:37:21 +02:00
Jeremy Combs
3eda3e5650
feat(encode64): add encodefile64 function (#10813)
Co-authored-by: Jeremy Combs <jeremy.combs@convergetp.com>
2022-11-06 20:50:39 +01:00
Sébastien Larivière
7daa207dbc Adding support for stdin input in the encode64 plugin 2016-01-18 21:01:04 +01:00
LE Manh Cuong
758195cb79 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.
2015-09-28 16:05:22 +07:00
Ashley Snowdon
6c6072c492 Modified to use full parameter as newer versions of base64 uses lowercase D 2013-03-13 11:21:43 +00:00
Vitaliy Yanchuk
43c0921693 More usable and shorter aliases 2012-06-14 13:31:00 +03:00
Vitaliy Yanchuk
db27635d8b Plugin for encoding strings into base64 and decoding them 2012-03-16 14:10:37 +02:00