logicp 6b0dab6939 initial | 6 năm trước cách đây | |
---|---|---|
.. | ||
README.md | 6 năm trước cách đây | |
urltools.plugin.zsh | 6 năm trước cách đây |
This plugin provides two aliases to URL-encode and URL-decode strings.
To start using it, add the urltools
plugin to your plugins array in ~/.zshrc
:
plugins=(... urltools)
Original author: Ian Chesal Original idea and aliases: Ruslan Spivak
Command | Description |
---|---|
urlencode |
URL-encodes the given string |
urldecode |
URL-decodes the given string |
urlencode 'https://github.com/robbyrussell/oh-my-zsh/search?q=urltools&type=Code'
# returns https%3A%2F%2Fgithub.com%2Frobbyrussell%2Foh-my-zsh%2Fsearch%3Fq%3Durltools%26type%3DCode
urldecode 'https%3A%2F%2Fgithub.com%2Frobbyrussell%2Foh-my-zsh%2Fsearch%3Fq%3Durltools%26type%3DCode'
# returns https://github.com/robbyrussell/oh-my-zsh/search?q=urltools&type=Code