aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-20 13:54:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-20 13:54:57 +1200
commit866ef5c3794764b089efdcfae1a753e294978663 (patch)
treeb0a2dba4364b0f31fda5ddb8a94ca5feaaded8f1 /bash
parentTurn off control character echo with stty (diff)
downloaddotfiles-866ef5c3794764b089efdcfae1a753e294978663.tar.gz
dotfiles-866ef5c3794764b089efdcfae1a753e294978663.zip
More conservative expansion for dotfile paths
Diffstat (limited to 'bash')
-rw-r--r--bash/bash_profile4
-rw-r--r--bash/bashrc2
2 files changed, 3 insertions, 3 deletions
diff --git a/bash/bash_profile b/bash/bash_profile
index 3d50e437..c119ddba 100644
--- a/bash/bash_profile
+++ b/bash/bash_profile
@@ -1,10 +1,10 @@
# Source Bourne shell profile if it exists
if [[ -r $HOME/.profile ]]; then
- source "$HOME/.profile"
+ source "$HOME"/.profile
fi
# Source interactive Bash config if it exists
if [[ -r $HOME/.bashrc ]]; then
- source "$HOME/.bashrc"
+ source "$HOME"/.bashrc
fi
diff --git a/bash/bashrc b/bash/bashrc
index 9bb6d8b3..33155b82 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -33,7 +33,7 @@ fi
# Load any supplementary scripts
if [[ -d $HOME/.bashrc.d ]]; then
- for file in "$HOME/.bashrc.d"/*; do
+ for file in "$HOME"/.bashrc.d/*; do
source "$file"
done
fi