diff options
-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 | ||