add helper. e:g how_in bash print an array
This commit is contained in:
parent
e8f90534a8
commit
23f57a4a72
@ -120,3 +120,7 @@ function mouse() {
|
|||||||
function meteo() {
|
function meteo() {
|
||||||
curl "fr.wttr.in/$*"
|
curl "fr.wttr.in/$*"
|
||||||
}
|
}
|
||||||
|
function how_in() {
|
||||||
|
where="$1"; shift
|
||||||
|
IFS=+ curl "https://cht.sh/$where/$*"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user