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