bashrc/.bashrc

17 lines
286 B
Bash
Raw Normal View History

2023-03-18 12:49:08 +01:00
#!/usr/bin/env bash
# ~/.bashrc: executed by bash(1) for non-login shells.
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return ;;
esac
chmod 700 ~/.bashrc.d
chmod 600 ~/.bashrc ~/.bashrc.d/*
for file in ~/.bashrc.d/*.bashrc;
do
source "${file}"
done