aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/profile b/sh/profile
index 164d765c..5e4f5891 100644
--- a/sh/profile
+++ b/sh/profile
@@ -8,14 +8,14 @@ PAGER='less'
export PAGER
# Add ~/.local/bin to PATH if it exists
-if [ -d "$HOME/.local/bin" ]; then
+if [ -d "$HOME"/.local/bin ]; then
PATH="$HOME/.local/bin:$PATH"
fi
export PATH
# Load all supplementary scripts in ~/.profile.d
-if [ -d "$HOME/.profile.d" ]; then
- for file in "$HOME/.profile.d"/*; do
+if [ -d "$HOME"/.profile.d ]; then
+ for file in "$HOME"/.profile.d/*; do
. "$file"
done
fi