dotfiles/.profile
Andrei Jiroh Halili 4f0d7e1708
chore(shell-aliases): migrate from dotfiles-legacy
* Changed shebang to regular sh for possible POSIX compatibility
* Updated header notes, probably add SPDX-License-Identifier later

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-01-07 22:18:21 +08:00

11 lines
220 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
source "$HOME/.env"
source "$HOME/.config/aliases"