Zsh: Add function get_ip
This commit is contained in:
parent
315c42caba
commit
15b7467799
|
@ -5,6 +5,10 @@
|
||||||
doas -L
|
doas -L
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_ip() {
|
||||||
|
wget -qO- "https://ipinfo.io"
|
||||||
|
}
|
||||||
|
|
||||||
function pz_upgrade() {
|
function pz_upgrade() {
|
||||||
pz zcompile -c >/dev/null
|
pz zcompile -c >/dev/null
|
||||||
pz pull
|
pz pull
|
||||||
|
|
Loading…
Reference in a new issue