Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
1487a2ad
Commit
1487a2ad
authored
Sep 11, 2018
by
Garth Mortensen
Committed by
Marc Cornellà
Sep 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urltools: add readme (#7126)
parent
d4cae831
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
README.md
plugins/urltools/README.md
+29
-0
No files found.
plugins/urltools/README.md
0 → 100644
View file @
1487a2ad
# 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`
:
```
zsh
plugins
=(
... urltools
)
```
Original author:
[
Ian Chesal
](
https://github.com/ianchesal
)
Original idea and aliases:
[
Ruslan Spivak
](
https://ruslanspivak.wordpress.com/2010/06/02/urlencode-and-urldecode-from-a-command-line/
)
## Commands
| Command | Description |
| :---------- | :--------------------------- |
|
`urlencode`
| URL-encodes the given string |
|
`urldecode`
| URL-decodes the given string |
## Examples
```
zsh
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
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment