add pythonrc

This commit is contained in:
Josh Thomas 2021-10-14 08:57:07 -05:00
parent 5e64704438
commit cc0a85d59d
3 changed files with 9 additions and 0 deletions

6
.pythonrc Normal file
View file

@ -0,0 +1,6 @@
try:
from rich import pretty, traceback
pretty.install()
traceback.install()
except ImportError:
pass

View file

@ -37,3 +37,5 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME
export SPACESHIP_BATTERY_SHOW=false
export NVM_DIR="$HOME/.nvm"
export PYTHONSTARTUP=$HOME/.pythonrc

View file

@ -36,6 +36,7 @@ sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- -y
ln -sf ${INSTALL_DIR}/.aliases ${HOME}/.aliases
ln -sf ${INSTALL_DIR}/.gitconfig ${HOME}/.gitconfig
ln -sf ${INSTALL_DIR}/.npmrc ${HOME}/.npmrc
ln -sf ${INSTALL_DIR}/.pythonrc ${HOME}/.pythonrc
ln -sf ${INSTALL_DIR}/.zprofile ${HOME}/.zprofile
ln -sf ${INSTALL_DIR}/.zshenv ${HOME}/.zshenv
ln -sf ${INSTALL_DIR}/.zshrc ${HOME}/.zshrc