Install rich
➜ pip install rich
➜ mkdir ~/pystartup
➜ touch ~/pystartup/startup.py
Create startup script
➜ ~ echo "import rich.pretty; rich.pretty.install()" > ~/pystartup/startup.py
export to .bashrc or .zshrc
➜ echo "export PYTHONSTARTUP=~/pystartup/startup.py" >> ~/.zshrc