mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-02-13 04:40:59 +01:00
add ips aliases
This commit is contained in:
18
plugins/ips/README.md
Normal file
18
plugins/ips/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# ips plugin
|
||||
|
||||
**Maintainer:** [@Frani](https://github.com/frani)
|
||||
|
||||
This plugin provides completion as well as adding many useful aliases.
|
||||
|
||||
To use it, add `ips` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... ips)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|---------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------|
|
||||
| ipe | `curl ipinfo.io/ip` | Display your current external ip |
|
||||
| ipi | `ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*'| grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'` | Display your current internal ip |
|
||||
Reference in New Issue
Block a user