Zsh: Fix get_ip
This commit is contained in:
parent
05d4434263
commit
0ca443f381
|
@ -8,7 +8,7 @@ doasedit () {
|
||||||
|
|
||||||
get_ip () {
|
get_ip () {
|
||||||
(( ${+commands[wget]} )) || return 1
|
(( ${+commands[wget]} )) || return 1
|
||||||
wget "$1" -qO- "https://ifconfig.co/json"
|
wget $@ -qO- "https://ifconfig.co/json"
|
||||||
}
|
}
|
||||||
|
|
||||||
pz_upgrade () {
|
pz_upgrade () {
|
||||||
|
|
Loading…
Reference in a new issue