aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Williams <tgwil@tgwil.net>2024-10-09 23:02:25 -0400
committerTristan Williams <tgwil@tgwil.net>2024-10-09 23:02:25 -0400
commita88d21bd06582f6036d0ee35f08096dbf55bd564 (patch)
tree4f7606d3edb87af364db9f84856726d331b99370
parentCreate README.md (diff)
downloaddotfiles.core-a88d21bd06582f6036d0ee35f08096dbf55bd564.tar.gz
dotfiles.core-a88d21bd06582f6036d0ee35f08096dbf55bd564.tar.bz2
dotfiles.core-a88d21bd06582f6036d0ee35f08096dbf55bd564.zip
Add bash configuration files .bash_profile and .bashrc
-rw-r--r--home/.bash_profile8
-rw-r--r--home/.bashrc8
2 files changed, 16 insertions, 0 deletions
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 @@
1#!/usr/local/bin/bash
2# ~/.bash_profile
3# AUTHOR: tgwil
4
5# If .bashrc exists, use it
6if [[ $- == *i* && -f ~/.bashrc ]]; then
7 . ~/.bashrc
8fi
diff --git a/home/.bashrc b/home/.bashrc
new file mode 100644
index 0000000..2296561
--- /dev/null
+++ b/home/.bashrc
@@ -0,0 +1,8 @@
1#!/usr/local/bin/bash
2# ~/.bashrc
3# AUTHOR: tgwil
4
5# Test for interactive shell
6if [[ $- != *i* ]]; then
7 return
8fi