# fix for screen readers
if grep -Fqa 'accessibility=' /proc/cmdline &> /dev/null; then
    setopt SINGLE_LINE_ZLE
fi

# Provisionnement automatique archiso (param noyau script=) : LIVE uniquement.
# Sur le système installé /run/archiso n'existe pas, donc ce bloc ne s'exécute
# jamais hors du live — c'est la barrière qui empêche l'auto-script sur la cible.
if [[ -d /run/archiso ]]; then
    ~/.automated_script.sh
fi
