Dotfiles/setup/modules/optional-Modules/apps/himalaya.sh

14 lines
695 B
Bash
Executable File

#!/bin/bash
# Exit immediately on error, treat unset variables as errors, propagate pipe failures.
set -euo pipefail
# Load shared log/skip/warn/err helpers from the installer library.
source "$(dirname "${BASH_SOURCE[0]}")/../../lib/logging.sh"
log "Installing Himalaya (AUR)..."
# himalaya-bin is the pre-compiled binary release of the Himalaya CLI email client.
# The -bin variant is preferred over building from source because compiling the full
# Rust workspace is slow and requires a complete Rust toolchain.
# --answerdiff None / --answerclean All suppress interactive PKGBUILD/clean prompts.
yay -S --answerdiff None --answerclean All --noconfirm himalaya-bin
log "Himalaya installed."