mirror of
https://mau.dev/andreijiroh-dev/dotfiles.git
synced 2025-01-19 06:56:39 +00:00
Andrei Jiroh Halili
dfa46de643
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>
15 lines
360 B
Bash
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"
|