diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-10 10:55:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-02-10 10:55:20 +1300 |
commit | 259ce7813e12af1218a12b8b3c16ccef03e85108 (patch) | |
tree | a9b6ad8ea1e2c9153baa2841cfd5f7f67e23ddae /sh/profile | |
parent | Use -r test consistently rather than -f (diff) | |
download | dotfiles-259ce7813e12af1218a12b8b3c16ccef03e85108.tar.gz dotfiles-259ce7813e12af1218a12b8b3c16ccef03e85108.zip |
Explicitly check extension of .d files
Diffstat (limited to 'sh/profile')
-rw-r--r-- | sh/profile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ export PATH # Load all supplementary scripts in ~/.profile.d if [ -d "$HOME"/.profile.d ]; then - for config in "$HOME"/.profile.d/*; do + for config in "$HOME"/.profile.d/*.sh; do [ -r "$config" ] && . "$config" done fi |