diff --git a/zsh/.zshrc b/zsh/.zshrc index 4b5b393..8ab8d21 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -26,7 +26,7 @@ eosup() { # quick way to fix clock drift in UTM VM toggle_ntp() { - sudo timedatectl set-ntp "$( + timedatectl set-ntp "$( timedatectl show -p NTP --value | grep -qi '^yes$' && echo false || echo true )" }