dotfiles/.profile
Andrei Jiroh Halili 01c95345a3
chore(global): regular configuration hellscape for now
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
2023-05-12 18:55:54 +02:00

25 lines
623 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" # ~vern specifics, might work on this soon.
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
# Added by Toolbox App
export PATH="$PATH:/home/ajhalili2006/.local/share/JetBrains/Toolbox/scripts"