2023-01-07 22:18:21 +08:00
|
|
|
#!/usr/bin/env sh
|
2023-01-06 01:22:50 +08: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 23:19:38 +08: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-06 01:22:50 +08:00
|
|
|
source "$HOME/.env"
|
2023-01-07 22:18:21 +08:00
|
|
|
source "$HOME/.config/aliases"
|
2023-01-19 19:22:37 +08:00
|
|
|
export POSIX_PROFILE_SOURCED=true
|
|
|
|
|
2023-05-12 18:55:54 +02:00
|
|
|
# how about detecting local configs
|
2023-06-13 09:05:23 +00:00
|
|
|
if [ -f "$HOME/.config/localconfig.env" ]; then
|
2023-05-12 18:55:54 +02:00
|
|
|
. "$HOME/.config/localconfig.env"
|
|
|
|
fi
|
2023-01-19 19:22:37 +08:00
|
|
|
|
2023-08-12 10:56:06 +08:00
|
|
|
# Import asdf to shell
|
2023-08-23 01:01:58 +08:00
|
|
|
#export ASDF_DIR="$HOME/.asdf"
|
|
|
|
#. "$HOME/.asdf/asdf.sh"
|
|
|
|
|
|
|
|
eval "$(devbox global shellenv)"
|
2023-08-12 10:56:06 +08:00
|
|
|
|
2023-06-13 11:07:37 +02:00
|
|
|
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
|