@ 260802.2

260621.1 · 1c5b5c9f067464e39866718ec44934a17338ac00

shell: rejigger how we load environment variables

This makes it so my environment variables are always loaded, even in non-interactive zsh or bash scripts. Previously, we were jumping through hoops to load environment variables where they are needed in certain contexts. Subsequent commits should show how this helps.

reading declarations

Changes to .bash_profile. All files

.bash_profile

@@ -1,5 +1,8 @@ # vim: ft=sh sw=2 ts=2 sts=2 +# Nudge bash to read `~/.bashenv` for non-interactive scripts.+export BASH_ENV="$HOME/.bashenv"+ . "$HOME/.bashrc"  if cmd-exists startx; then