aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorTristan Williams <tgwil@tgwil.net>2024-10-10 00:23:18 -0400
committerTristan Williams <tgwil@tgwil.net>2024-10-10 00:23:18 -0400
commit627bb90fcbc86572a034c3bc9bc9c02a4586c2a4 (patch)
treee2f095f1f60faec3cd050c4586208a07fa55e381 /home
parentAdd bash completion to .bashrc (diff)
downloaddotfiles.core-627bb90fcbc86572a034c3bc9bc9c02a4586c2a4.tar.gz
dotfiles.core-627bb90fcbc86572a034c3bc9bc9c02a4586c2a4.tar.bz2
dotfiles.core-627bb90fcbc86572a034c3bc9bc9c02a4586c2a4.zip
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.
Diffstat (limited to 'home')
-rw-r--r--home/.bash_profile8
-rw-r--r--home/.bashrc3
2 files changed, 9 insertions, 2 deletions
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 @@
1#!/usr/local/bin/bash 1#!/usr/local/bin/bash
2# ~/.bash_profile 2# FILE : dotfiles.core/home/.bash_profile
3# TARGET: ~/.bash_profile
3# AUTHOR: tgwil 4# AUTHOR: tgwil
4 5
5# If .bashrc exists, use it 6# If .bashrc exists, use it
6if [[ $- == *i* && -f ~/.bashrc ]]; then 7if [[ $- == *i* && -f ~/.bashrc ]]; then
7 . ~/.bashrc 8 . ~/.bashrc
8fi 9fi
10
11# If .bashrc.personal exists, use it.
12if [[ $- == *i* && -f ~/.bashrc.personal ]]; then
13 . ~/.bashrc.personal
14fi
diff --git a/home/.bashrc b/home/.bashrc
index b1f7ea4..7496612 100644
--- a/home/.bashrc
+++ b/home/.bashrc
@@ -1,5 +1,6 @@
1#!/usr/local/bin/bash 1#!/usr/local/bin/bash
2# ~/.bashrc 2# FILE : dotfiles.core/home/.bashrc
3# TARGET: ~/.bashrc
3# AUTHOR: tgwil 4# AUTHOR: tgwil
4 5
5# Test for interactive shell 6# Test for interactive shell