diff options
author | Robby Russell <robby@planetargon.com> | 2015-10-09 07:15:20 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2015-10-09 07:15:20 -0700 |
commit | b1173d4b30930cdbd69f8c0c029b94f756fe9be7 (patch) | |
tree | 771ea233432d4fa2f14bea0b937fef9e5d03a926 /plugins | |
parent | 2459add3dd7c687b3bb6a9f1f9f469225b88c6fc (diff) | |
parent | 758195cb791556c3f5268e7e075f3ab55bcd5e90 (diff) | |
download | zsh-b1173d4b30930cdbd69f8c0c029b94f756fe9be7.tar.gz zsh-b1173d4b30930cdbd69f8c0c029b94f756fe9be7.tar.bz2 zsh-b1173d4b30930cdbd69f8c0c029b94f756fe9be7.zip |
Merge pull request #4418 from Gnouc/master
Encode64 Plugin - Fix wrong `echo` usage
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/encode64/encode64.plugin.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/encode64/encode64.plugin.zsh b/plugins/encode64/encode64.plugin.zsh index 4dbd1b453..53de6478a 100644 --- a/plugins/encode64/encode64.plugin.zsh +++ b/plugins/encode64/encode64.plugin.zsh @@ -1,4 +1,4 @@ -encode64(){ echo -n $1 | base64 } -decode64(){ echo -n $1 | base64 --decode } +encode64(){ printf '%s' $1 | base64 } +decode64(){ printf '%s' $1 | base64 --decode } alias e64=encode64 alias d64=decode64 |