X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;ds=sidebyside;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fencode64%2FREADME.md;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fencode64%2FREADME.md;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=86320cffb53445f090cd1514e029ddc5896d6792;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/encode64/README.md b/stow/oh-my-zsh/.oh-my-zsh/plugins/encode64/README.md deleted file mode 100644 index 86320cf..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/encode64/README.md +++ /dev/null @@ -1,58 +0,0 @@ -# encode64 - -Alias plugin for encoding or decoding using `base64` command. - -To use it, add `encode64` to the plugins array in your zshrc file: - -```zsh -plugins=(... encode64) -``` - -## Functions and Aliases - -| Function | Alias | Description | -| ---------- | ----- | ------------------------------ | -| `encode64` | `e64` | Encodes given data to base64 | -| `decode64` | `d64` | Decodes given data from base64 | - -## Usage and examples - -### Encoding - -- From parameter - - ```console - $ encode64 "oh-my-zsh" - b2gtbXktenNo - $ e64 "oh-my-zsh" - b2gtbXktenNo - ``` - -- From piping - - ```console - $ echo "oh-my-zsh" | encode64 - b2gtbXktenNo== - $ echo "oh-my-zsh" | e64 - b2gtbXktenNo== - ``` - -### Decoding - -- From parameter - - ```console - $ decode64 b2gtbXktenNo - oh-my-zsh% - $ d64 b2gtbXktenNo - oh-my-zsh% - ``` - -- From piping - - ```console - $ echo "b2gtbXktenNoCg==" | decode64 - oh-my-zsh - $ echo "b2gtbXktenNoCg==" | d64 - oh-my-zsh - ```