aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-05 13:30:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-05 13:30:14 +1200
commit350fc5e6ed4d35638c6493e210dbe7a35b5fa099 (patch)
treeed398c66b9f9abe45d31b0845e7714d7c421c862 /bash/bashrc
parentAvoid using builtin names for promptt function arg (diff)
downloaddotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.tar.gz
dotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.zip
More thorough quoting
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 7924a7e1..45539977 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -32,9 +32,9 @@ if [[ -r /etc/bash_completion ]]; then
fi
# Load any supplementary scripts
-if [[ -d "$HOME/.bashrc.d" ]]; then
- for file in $HOME/.bashrc.d/*; do
- source $file
+if [[ -d "${HOME}/.bashrc.d" ]]; then
+ for file in "${HOME}/.bashrc.d"/*; do
+ source "$file"
done
fi