From 259ce7813e12af1218a12b8b3c16ccef03e85108 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Feb 2014 10:55:20 +1300 Subject: Explicitly check extension of .d files --- sh/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/profile') diff --git a/sh/profile b/sh/profile index db003ebe..33c5cc11 100644 --- a/sh/profile +++ b/sh/profile @@ -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 -- cgit v1.2.3