Zsh: Add function get_ip

This commit is contained in:
the_4n0nym0u53 2022-02-02 12:13:10 +01:00 committed by GitHub
parent 315c42caba
commit 15b7467799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,10 @@
doas -L
}
function get_ip() {
wget -qO- "https://ipinfo.io"
}
function pz_upgrade() {
pz zcompile -c >/dev/null
pz pull