mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
Add new plugin for virtual host management
This commit is contained in:
parent
ff4663a6b8
commit
39889dc2f2
3 changed files with 174 additions and 0 deletions
54
plugins/vhost/README.md
Normal file
54
plugins/vhost/README.md
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# VHOST
|
||||
|
||||
> Making virtual host maniputation tasks more easier
|
||||
|
||||
|
||||
## Instalation ##
|
||||
|
||||
Open your `.zshrc` file and load `vhost` plugin
|
||||
|
||||
```bash
|
||||
...
|
||||
plugins=( <your-plugins-list>... vhost)
|
||||
...
|
||||
```
|
||||
|
||||
|
||||
## Commands ##
|
||||
|
||||
|
||||
### ls
|
||||
|
||||
List all virtual hosts in `/etc/hosts` file
|
||||
|
||||
```bash
|
||||
vhost ls
|
||||
```
|
||||
|
||||
|
||||
### add
|
||||
|
||||
Add a new virtual host in `/etc/hosts` file
|
||||
|
||||
```bash
|
||||
vhost add <ip> <host>
|
||||
```
|
||||
|
||||
|
||||
### rm
|
||||
|
||||
Add a new virtual host in `/etc/hosts` file
|
||||
|
||||
```bash
|
||||
vhost rm <ip> <host>
|
||||
```
|
||||
|
||||
|
||||
## Author
|
||||
|
||||
**Wilson Mendes (willmendesneto)**
|
||||
+ <https://plus.google.com/+WilsonMendes>
|
||||
+ <https://twitter.com/willmendesneto>
|
||||
+ <http://github.com/willmendesneto>
|
||||
|
||||
New features comming soon.
|
||||
Loading…
Add table
Add a link
Reference in a new issue