2023-01-07 14:18:21 +00:00
|
|
|
#!/usr/bin/env sh
|
2023-01-05 17:22:50 +00:00
|
|
|
# if running bash
|
|
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
|
|
# include .bashrc if it exists
|
|
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
|
|
. "$HOME/.bashrc"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2023-09-04 15:19:38 +00:00
|
|
|
export PATH="/usr/local/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts:$HOME/.local/bin" # ~vern specifics and more
|
2023-01-08 03:02:37 +00:00
|
|
|
mesg n 2> /dev/null || true
|
|
|
|
|
|
|
|
# then import the rest
|
2023-01-05 17:22:50 +00:00
|
|
|
source "$HOME/.env"
|
2023-01-07 14:18:21 +00:00
|
|
|
source "$HOME/.config/aliases"
|
2023-01-19 11:22:37 +00:00
|
|
|
export POSIX_PROFILE_SOURCED=true
|
|
|
|
|
2023-05-12 16:55:54 +00:00
|
|
|
# how about detecting local configs
|
2023-06-13 09:05:23 +00:00
|
|
|
if [ -f "$HOME/.config/localconfig.env" ]; then
|
2023-05-12 16:55:54 +00:00
|
|
|
. "$HOME/.config/localconfig.env"
|
|
|
|
fi
|
2023-01-19 11:22:37 +00:00
|
|
|
|
2023-08-12 02:56:06 +00:00
|
|
|
# Import asdf to shell
|
2023-08-22 17:01:58 +00:00
|
|
|
#export ASDF_DIR="$HOME/.asdf"
|
|
|
|
#. "$HOME/.asdf/asdf.sh"
|
|
|
|
|
|
|
|
eval "$(devbox global shellenv)"
|
2023-08-12 02:56:06 +00:00
|
|
|
|
2023-06-13 09:07:37 +00:00
|
|
|
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
|