mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2024-11-10 00:59:38 +00:00
8c1ebd6de8
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
29 lines
739 B
Bash
29 lines
739 B
Bash
#!/usr/bin/env sh
|
|
# if running bash
|
|
if [ -n "$BASH_VERSION" ]; then
|
|
# include .bashrc if it exists
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
. "$HOME/.bashrc"
|
|
fi
|
|
fi
|
|
|
|
export PATH="/usr/local/bin${PATH:+:}$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts:$HOME/.local/bin" # ~vern specifics and more
|
|
mesg n 2> /dev/null || true
|
|
|
|
# then import the rest
|
|
source "$HOME/.env"
|
|
source "$HOME/.config/aliases"
|
|
export POSIX_PROFILE_SOURCED=true
|
|
|
|
# how about detecting local configs
|
|
if [ -f "$HOME/.config/localconfig.env" ]; then
|
|
. "$HOME/.config/localconfig.env"
|
|
fi
|
|
|
|
# Import asdf to shell
|
|
#export ASDF_DIR="$HOME/.asdf"
|
|
#. "$HOME/.asdf/asdf.sh"
|
|
|
|
eval "$(devbox global shellenv)"
|
|
|
|
_byobu_sourced=1 . /usr/bin/byobu-launch 2>/dev/null || true
|