1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env bash if [ -z "${PROFILE_SOURCED}" ] && [ -f "${HOME}"/.profile ]; then # shellcheck disable=SC1091 source "${HOME}/.profile" fi if [ -f "${HOME}/.bashrc" ]; then # shellcheck disable=SC1091 source "${HOME}/.bashrc" fi
Consider giving Nix/NixOS a try! <3