From 24336ecdf6780591f99e2717a964ec9d4560af2a Mon Sep 17 00:00:00 2001 From: Spotlight Date: Fri, 6 Jun 2025 13:22:36 -0500 Subject: [PATCH] Disable zsh shell built-in `log` This is primarily useful on Darwin, where the system logging client is also named `log`. --- home/prompt.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/prompt.nix b/home/prompt.nix index 75f23b6..69af28d 100644 --- a/home/prompt.nix +++ b/home/prompt.nix @@ -73,6 +73,10 @@ in # History search, but from beginning bindkey "^[[A" history-beginning-search-backward bindkey "^[[B" history-beginning-search-forward + + # Prefer /usr/bin/log over the zsh shell built-in. + # This is primarily for Darwin usage. + disable log ''; };