This repository has been archived on 2024-06-19. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-old/dot_oh-my-zsh/plugins/urltools
2024-03-03 15:33:59 +01:00
..
README.md Added basic nvim config, replaced vim with nvim 2024-03-03 15:33:59 +01:00
urltools.plugin.zsh Added basic nvim config, replaced vim with nvim 2024-03-03 15:33:59 +01:00

URLTools plugin

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

Commands

Command Description
urlencode URL-encodes the given string
urldecode URL-decodes the given string

Examples

urlencode 'https://github.com/ohmyzsh/ohmyzsh/search?q=urltools&type=Code'
# returns https%3A%2F%2Fgithub.com%2Fohmyzsh%2Fohmyzsh%2Fsearch%3Fq%3Durltools%26type%3DCode

urldecode 'https%3A%2F%2Fgithub.com%2Fohmyzsh%2Fohmyzsh%2Fsearch%3Fq%3Durltools%26type%3DCode'
# returns https://github.com/ohmyzsh/ohmyzsh/search?q=urltools&type=Code