rc: improve geoip to also check IPv6
This commit is contained in:
parent
8a48996008
commit
e2a3c0f2eb
|
@ -608,9 +608,10 @@ fi
|
|||
|
||||
##### Functions ZGC5QQ #####
|
||||
|
||||
# GEOIP lookup, copied from the ultimate bashrc http://goo.gl/qGK5j
|
||||
# GEOIP lookup, improved from the ultimate bashrc http://goo.gl/qGK5j
|
||||
function geoip() {
|
||||
geoiplookup $1
|
||||
geoiplookup6 $1
|
||||
}
|
||||
|
||||
# Checks which package the command comes from. Copied from the ultimate bashrc http://goo.gl/qGK5j
|
||||
|
|
3
rc/zshrc
3
rc/zshrc
|
@ -581,9 +581,10 @@ fi
|
|||
|
||||
##### Functions ZGC5QQ #####
|
||||
|
||||
# GEOIP lookup, copied from the ultimate bashrc http://goo.gl/qGK5j
|
||||
# GEOIP lookup, improved from the ultimate bashrc http://goo.gl/qGK5j
|
||||
function geoip() {
|
||||
geoiplookup $1
|
||||
geoiplookup6 $1
|
||||
}
|
||||
|
||||
# Checks which package the command comes from. Copied from the ultimate bashrc http://goo.gl/qGK5j
|
||||
|
|
Loading…
Reference in New Issue