Add current RANDOM_THEME from oh-my-zsh to the .zshrc file to the ZSH_THEME_RANDOM_IGNORED section. Use as a zsh alias via python script:
alias it="python3 omz_theme_ignore/main.py $RANDOM_THEME"
or via package:
python3 -m pip install omz_theme_ignore
alias it="omz_theme_ignore $RANDOM_THEME"