aboutsummaryrefslogtreecommitdiff
path: root/home/.bash_profile
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/.bash_profile
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/.bash_profile')
-rw-r--r--home/.bash_profile8
1 files changed, 7 insertions, 1 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