From 627bb90fcbc86572a034c3bc9bc9c02a4586c2a4 Mon Sep 17 00:00:00 2001 From: Tristan Williams Date: Thu, 10 Oct 2024 00:23:18 -0400 Subject: Add support for .bashrc.personal I split my dotfiles into modular repositories. This repository is the core, so it makes sense to initialize other stuff here. --- home/.bash_profile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'home/.bash_profile') diff --git a/home/.bash_profile b/home/.bash_profile index c2a4763..ee621b3 100644 --- a/home/.bash_profile +++ b/home/.bash_profile @@ -1,8 +1,14 @@ #!/usr/local/bin/bash -# ~/.bash_profile +# FILE : dotfiles.core/home/.bash_profile +# TARGET: ~/.bash_profile # AUTHOR: tgwil # If .bashrc exists, use it if [[ $- == *i* && -f ~/.bashrc ]]; then . ~/.bashrc fi + +# If .bashrc.personal exists, use it. +if [[ $- == *i* && -f ~/.bashrc.personal ]]; then + . ~/.bashrc.personal +fi -- cgit v1.2.3