1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-21 21:30:09 +00:00

Merge pull request #4418 from Gnouc/master

Encode64 Plugin - Fix wrong `echo` usage
This commit is contained in:
Robby Russell 2015-10-09 07:15:20 -07:00
commit b1173d4b30

View file

@ -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