mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Custom function. Get external IP.
This commit is contained in:
parent
d03a6176aa
commit
164648ce2b
1 changed files with 4 additions and 0 deletions
4
custom/ip.zsh
Normal file
4
custom/ip.zsh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function whatismyip() {
|
||||
echo `curl http://whatismyip.akamai.com/ -s`
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue