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
|
2023-10-21 01:08:39 +00:00
|
|
|
. "$HOME/.bashrc"
|
2023-01-05 17:22:50 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2023-10-21 01:08:39 +00:00
|
|
|
export PATH="/usr/local/bin:$HOME/.local/bin:$HOME/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts" # ~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-06-13 09:07:37 +00:00
|
|
|
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
|