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
1 changed files with 3 additions and 1 deletions

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