dotfiles/.profile
Trysdyn Black 1654c2ebf6 Add python REPL configs
- Rich for prettification
- Don't write a python_history
2023-05-05 15:24:55 -07:00

27 lines
686 B
Bash

export LANG=en_US.UTF-8
# Start keychain only on my personal system
if [ -z "$SSH_CLIENT" ] && [ -z "$SSH_TTY" ]; then
eval `keychain --eval id_ed25519`
fi
# These are pretty safe to assume exist
export PATH=~/bin:$PATH
export EDITOR=vim
export VISUAL=$EDITOR
# Figure out my pager; these don't necessarily exist
if [ -e /usr/bin/bat ]; then
export PAGER="bat --plain"
elif [ -e /usr/bin/most ]; then
export PAGER=most
fi
# Set shell history values
# We use one history for any shell, which might bite us one day?
export HISTFILE=~/.history
export HISTSIZE=10000
export SAVEHIST=10000
# Use my special pythonrc to customize my REPL
export PYTHONSTARTUP=~/.config/pythonrc