diff options
author | Tristan Williams <tgwil@tgwil.net> | 2024-10-12 13:51:54 -0400 |
---|---|---|
committer | Tristan Williams <tgwil@tgwil.net> | 2024-10-12 13:51:54 -0400 |
commit | 4f9be89669942b3904daac1d9a04b08309ea25d0 (patch) | |
tree | c7e761d6eb271d29eee44c49f569067b9dfd198f /home | |
parent | Fix comments and formatting (diff) | |
download | dotfiles.core-4f9be89669942b3904daac1d9a04b08309ea25d0.tar.gz dotfiles.core-4f9be89669942b3904daac1d9a04b08309ea25d0.tar.bz2 dotfiles.core-4f9be89669942b3904daac1d9a04b08309ea25d0.zip |
Fix comments and formatting
Diffstat (limited to 'home')
-rw-r--r-- | home/.bash_profile | 8 | ||||
-rw-r--r-- | 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 @@ | |||
8 | # It loads each .bashrc.X file if it exists. | 8 | # It loads each .bashrc.X file if it exists. |
9 | 9 | ||
10 | 10 | ||
11 | # If .bashrc exists, use it | 11 | ######################################################################## |
12 | ## .bashrc (core) | ||
13 | ######################################################################## | ||
12 | if [[ $- == *i* && -f ~/.bashrc ]]; then | 14 | if [[ $- == *i* && -f ~/.bashrc ]]; then |
13 | . ~/.bashrc | 15 | . ~/.bashrc |
14 | fi | 16 | fi |
15 | 17 | ||
16 | 18 | ||
17 | # If .bashrc.personal exists, use it. | 19 | ######################################################################## |
20 | ## .bashrc.personal | ||
21 | ######################################################################## | ||
18 | if [[ $- == *i* && -f ~/.bashrc.personal ]]; then | 22 | if [[ $- == *i* && -f ~/.bashrc.personal ]]; then |
19 | . ~/.bashrc.personal | 23 | . ~/.bashrc.personal |
20 | fi | 24 | fi |
diff --git a/home/.bashrc b/home/.bashrc index 5d0b391..1aad5fe 100644 --- a/home/.bashrc +++ b/home/.bashrc | |||
@@ -6,16 +6,20 @@ | |||
6 | # | 6 | # |
7 | # This is the core Bash configuration for all TGWIL accounts on all | 7 | # This is the core Bash configuration for all TGWIL accounts on all |
8 | # systems. It contains only those configurations which are applicable | 8 | # systems. It contains only those configurations which are applicable |
9 | # to (almost ) every situation. Situational configurations should go | 9 | # to (almost) every situation. Situational configurations should go |
10 | # in their respective situational repositories. | 10 | # in their respective situational repositories. |
11 | 11 | ||
12 | 12 | ||
13 | # Test for interactive shell | 13 | ######################################################################## |
14 | ## Test for interactive shell | ||
15 | ######################################################################## | ||
14 | if [[ $- != *i* ]]; then | 16 | if [[ $- != *i* ]]; then |
15 | return | 17 | return |
16 | fi | 18 | fi |
17 | 19 | ||
18 | 20 | ||
21 | ######################################################################## | ||
19 | ## Bash completion | 22 | ## Bash completion |
23 | ######################################################################## | ||
20 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] \ | 24 | [[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] \ |
21 | && source /usr/local/share/bash-completion/bash_completion.sh | 25 | && source /usr/local/share/bash-completion/bash_completion.sh |