random: add ZSH_THEME_RANDOM_QUIET setting

Fixes #9180

Co-authored-by: James Eapen <jamespeapen@gmail.com>
This commit is contained in:
Marc Cornellà 2020-09-20 13:41:21 +02:00
parent 38f276a732
commit 93c837fec8

View file

@ -42,4 +42,6 @@ else
return 1
fi
echo "[oh-my-zsh] Random theme '${RANDOM_THEME}' loaded"
if [[ -z "$ZSH_THEME_RANDOM_QUIET" ]]; then
echo "[oh-my-zsh] Random theme '${RANDOM_THEME}' loaded"
fi