This website works better with JavaScript.
Home
Explore
Help
Sign In
artur
/
wttr.in
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix quoting
pull/589/head
Matt Hayden
5 years ago
parent
42635d9c6f
commit
d80c470061
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
share/bash-function.txt
+ 1
- 1
share/bash-function.txt
View File
@ -23,7 +23,7 @@ wttr() {
command shift
local args=""
for p in $WTTR_PARAMS "$@"; do
args+=" --data-urlencode
'
$p
'
"
args+=" --data-urlencode $p "
done
curl -fGsS -H "Accept-Language: ${LANG%_*}" $args --compressed "wttr.in/${location}"
}
Write
Preview
Loading…
Cancel
Save