From 4f9be89669942b3904daac1d9a04b08309ea25d0 Mon Sep 17 00:00:00 2001 From: Tristan Williams Date: Sat, 12 Oct 2024 13:51:54 -0400 Subject: Fix comments and formatting --- home/.bash_profile | 8 ++++++-- home/.bashrc | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/home/.bash_profile b/home/.bash_profile index b12cc06..e10efd5 100644 --- a/home/.bash_profile +++ b/home/.bash_profile @@ -8,13 +8,17 @@ # It loads each .bashrc.X file if it exists. -# If .bashrc exists, use it +######################################################################## +## .bashrc (core) +######################################################################## if [[ $- == *i* && -f ~/.bashrc ]]; then . ~/.bashrc fi -# If .bashrc.personal exists, use it. +######################################################################## +## .bashrc.personal +######################################################################## if [[ $- == *i* && -f ~/.bashrc.personal ]]; then . ~/.bashrc.personal fi diff --git a/home/.bashrc b/home/.bashrc index 5d0b391..1aad5fe 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -6,16 +6,20 @@ # # This is the core Bash configuration for all TGWIL accounts on all # systems. It contains only those configurations which are applicable -# to (almost ) every situation. Situational configurations should go +# to (almost) every situation. Situational configurations should go # in their respective situational repositories. -# Test for interactive shell +######################################################################## +## Test for interactive shell +######################################################################## if [[ $- != *i* ]]; then return fi +######################################################################## ## Bash completion +######################################################################## [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] \ && source /usr/local/share/bash-completion/bash_completion.sh -- cgit v1.2.3