From 90000d76c1f302f69e234b8e3f26b19af6f93cfc Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 18 Feb 2026 11:11:53 -0500 Subject: [PATCH] [zsh] No need to sudo for ntp --- zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )" }