From a88d21bd06582f6036d0ee35f08096dbf55bd564 Mon Sep 17 00:00:00 2001 From: Tristan Williams Date: Wed, 9 Oct 2024 23:02:25 -0400 Subject: Add bash configuration files .bash_profile and .bashrc --- home/.bash_profile | 8 ++++++++ home/.bashrc | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 home/.bash_profile create mode 100644 home/.bashrc diff --git a/home/.bash_profile b/home/.bash_profile new file mode 100644 index 0000000..c2a4763 --- /dev/null +++ b/home/.bash_profile @@ -0,0 +1,8 @@ +#!/usr/local/bin/bash +# ~/.bash_profile +# AUTHOR: tgwil + +# If .bashrc exists, use it +if [[ $- == *i* && -f ~/.bashrc ]]; then + . ~/.bashrc +fi diff --git a/home/.bashrc b/home/.bashrc new file mode 100644 index 0000000..2296561 --- /dev/null +++ b/home/.bashrc @@ -0,0 +1,8 @@ +#!/usr/local/bin/bash +# ~/.bashrc +# AUTHOR: tgwil + +# Test for interactive shell +if [[ $- != *i* ]]; then + return +fi -- cgit v1.2.3