From 4769ba2c36d55f52fd544427c6e2d154ec05fd12 Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Tue, 29 Apr 2025 10:33:58 +0200 Subject: [PATCH] turned off zsh beep. --- configs/home-manager/zsh.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/home-manager/zsh.nix b/configs/home-manager/zsh.nix index 689d576..9687400 100644 --- a/configs/home-manager/zsh.nix +++ b/configs/home-manager/zsh.nix @@ -49,6 +49,9 @@ #the tre command has some shell integration. tre() { command tre "$@" --editor && source "/tmp/tre_aliases_$USER" 2>/dev/null; } tred() { command tre "$@" --editor=z --directories && source "/tmp/tre_aliases_$USER" 2>/dev/null; } + + # Turn off terminal beep on autocomplete. + unsetopt BEEP '' (lib.mkIf (!config.programs.starship.enable) '' autoload -U promptinit