diff options
author | Tristan Williams <tgwil@tgwil.net> | 2024-10-09 23:02:25 -0400 |
---|---|---|
committer | Tristan Williams <tgwil@tgwil.net> | 2024-10-09 23:02:25 -0400 |
commit | a88d21bd06582f6036d0ee35f08096dbf55bd564 (patch) | |
tree | 4f7606d3edb87af364db9f84856726d331b99370 | |
parent | Create README.md (diff) | |
download | dotfiles.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_profile | 8 | ||||
-rw-r--r-- | home/.bashrc | 8 |
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 | ||
6 | if [[ $- == *i* && -f ~/.bashrc ]]; then | ||
7 | . ~/.bashrc | ||
8 | 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 @@ | |||
1 | #!/usr/local/bin/bash | ||
2 | # ~/.bashrc | ||
3 | # AUTHOR: tgwil | ||
4 | |||
5 | # Test for interactive shell | ||
6 | if [[ $- != *i* ]]; then | ||
7 | return | ||
8 | fi | ||