Skip to content

Instantly share code, notes, and snippets.

View ZaLiTHkA's full-sized avatar

Andre Greeff ZaLiTHkA

  • KZN, South Africa
View GitHub Profile
@ZaLiTHkA
ZaLiTHkA / .bashrc
Last active August 6, 2024 07:18
a collection of scripts I use to tweak my Bash initialisation process.
# Enable the subsequent settings only in interactive sessions
case $- in
*i*) ;;
*) return;;
esac
# bashrc segments have been abstracted away into script files in the following folder
for file in $HOME/.bashrc-parts/*; do
if [ -f "$file" -a "${file: -3}" == ".sh" ]; then
source "$file"