about summary refs log tree commit diff
path: root/bash/.bashrc
blob: 2a5ac92b57886b85960e91a945cd2e435e06413b (plain) (blame)
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

for i in "${HOME}"/.bash.d/*.bash; do
    # shellcheck disable=SC1090
    [[ -r "${i}" ]] && source "${i}"
done

Consider giving Nix/NixOS a try! <3