dotfiles/scripts/weather.sh

7 lines
No EOL
127 B
Bash
Executable file

#!/bin/bash
location=$(cat ~/dotfiles/location.txt)
echo "getting weather for "$location
echo
curl "wttr.in/"$location"?2QFn"