diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-05 13:30:14 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-05 13:30:14 +1200 |
commit | 350fc5e6ed4d35638c6493e210dbe7a35b5fa099 (patch) | |
tree | ed398c66b9f9abe45d31b0845e7714d7c421c862 /bash/bashrc | |
parent | Avoid using builtin names for promptt function arg (diff) | |
download | dotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.tar.gz dotfiles-350fc5e6ed4d35638c6493e210dbe7a35b5fa099.zip |
More thorough quoting
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 6 |
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 |