aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/profile b/sh/profile
index 447a9645..813fb7cc 100644
--- a/sh/profile
+++ b/sh/profile
@@ -7,13 +7,13 @@ export EDITOR VISUAL
PAGER='less'
export PAGER
-# Add ~/.local/bin to PATH
+# Add ~/.local/bin to PATH if it exists
if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH"
fi
export PATH
-# Load any supplementary scripts
+# Load all supplementary scripts in ~/.profile.d
if [ -d "$HOME/.profile.d" ]; then
for file in $HOME/.profile.d/*; do
. $file