export LANG=en_US.UTF-8 # Set user-based time zone export TZ=America/Los_Angeles # Disable GTK4 trying to talk to an XDG Desktop Portal I don't use export ADW_DISABLE_PORTAL=1 # Start keychain only on my personal system if [ -z "$SSH_CLIENT" ] && [ -z "$SSH_TTY" ]; then eval `keychain --eval id_ed25519` fi # Put ~/bin in my PATH but last export PATH=$PATH:~/bin # Figure out my editor. I want helix if this box has it, but where it is # is inconsistent thanks to Archlinux packaging. It can be /usr/bin/helix, # or /usr/bin/hx. My puppet code creates /bin/hx to normalize this too. # If we don't have helix, just shotgun using vim and pray. if [ -e /bin/hx ]; then export EDITOR=/bin/hx elif [ -e /usr/bin/helix ]; then export EDITOR=/usr/bin/helix elif [ -e /usr/bin/hx ]; then export EDITOR=/usr/bin/hx else export EDITOR=vim fi 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 # Make QT skin how I want it export QT_QPA_PLATFORMTHEME=qt5ct