fix
This commit is contained in:
parent
bc553f06be
commit
6bbaa96903
1 changed files with 0 additions and 1 deletions
|
@ -6,7 +6,6 @@
|
|||
# If we have internet, get a weather report from wttr.in and store it locally.
|
||||
# You could set up a shell alias to view the full file in a pager in the
|
||||
# terminal if desired. This function will only be run once a day when needed.
|
||||
LOCATION=''
|
||||
weatherreport="${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport"
|
||||
getforecast() { curl -sf "wttr.in/$LOCATION" > "$weatherreport" || exit 1 ;}
|
||||
|
||||
|
|
Loading…
Reference in a new issue