#!/usr/bin/env zsh echo '[*] enabling gps-raw & agps-msb' printf '[i] mmcli: ' mmcli -m any --location-enable-{gps-raw,agps-msb} echo '[*] fixing refresh rate' printf '[i] mmcli: ' mmcli -m any --location-set-gps-refresh-rate 1 echo '[*] enabling signal' printf '[i] mmcli: ' mmcli -m any --location-set-enable-signal