summaryrefslogtreecommitdiff
path: root/plugins/encode64
diff options
context:
space:
mode:
authorAlexander Berezovsky <ab@plumdistrict.com>2012-06-18 12:16:36 +0300
committerAlexander Berezovsky <ab@plumdistrict.com>2012-06-18 12:16:36 +0300
commit4a2e9ed0393b74a4e4b42766a5859e6634ce4c65 (patch)
tree51d752dd5c2cc3266077d2249f4ba5d0cefcd706 /plugins/encode64
parent73b9f8311030fe249d703178d5cb445eb0642268 (diff)
parente8d582aba98d57214a374bed01570ba791c54d9e (diff)
downloadzsh-4a2e9ed0393b74a4e4b42766a5859e6634ce4c65.tar.gz
zsh-4a2e9ed0393b74a4e4b42766a5859e6634ce4c65.tar.bz2
zsh-4a2e9ed0393b74a4e4b42766a5859e6634ce4c65.zip
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/encode64')
-rw-r--r--plugins/encode64/encode64.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/encode64/encode64.plugin.zsh b/plugins/encode64/encode64.plugin.zsh
new file mode 100644
index 000000000..cfb7c6a18
--- /dev/null
+++ b/plugins/encode64/encode64.plugin.zsh
@@ -0,0 +1,2 @@
+encode64(){ echo -n $1 | base64 }
+decode64(){ echo -n $1 | base64 -D } \ No newline at end of file