3 This plugin provides two aliases to URL-encode and URL-decode strings.
5 To start using it, add the `urltools` plugin to your plugins array in `~/.zshrc`:
11 Original author: [Ian Chesal](https://github.com/ianchesal)
12 Original idea and aliases: [Ruslan Spivak](https://ruslanspivak.wordpress.com/2010/06/02/urlencode-and-urldecode-from-a-command-line/)
16 | Command | Description |
17 | :---------- | :--------------------------- |
18 | `urlencode` | URL-encodes the given string |
19 | `urldecode` | URL-decodes the given string |
24 urlencode 'https://github.com/ohmyzsh/ohmyzsh/search?q=urltools&type=Code'
25 # returns https%3A%2F%2Fgithub.com%2Fohmyzsh%2Fohmyzsh%2Fsearch%3Fq%3Durltools%26type%3DCode
27 urldecode 'https%3A%2F%2Fgithub.com%2Fohmyzsh%2Fohmyzsh%2Fsearch%3Fq%3Durltools%26type%3DCode'
28 # returns https://github.com/ohmyzsh/ohmyzsh/search?q=urltools&type=Code