bashrc/.bashrc
2023-03-18 18:49:08 +07:00

17 lines
286 B
Bash

#!/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