dotfiles/.profile
Andrei Jiroh Halili dfa46de643
chore(global): add ~vern's bash prompt and stuff
Also in this commit:
* Update shellrc files for bash for compat with this. I might work
  on adding checks for oh-my-posh later on.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-01-08 03:02:37 +00:00

15 lines
360 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"