mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
54 lines
657 B
Markdown
54 lines
657 B
Markdown
# 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.
|