aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-31 17:46:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-31 17:46:34 +1200
commit8af8a11034816f54dec1332ac43e44320db9cb48 (patch)
treef492eb4eaabbf42d434a2685947d61dbd8f61391 /sh/profile
parentTrailing whitespace fixes (diff)
downloaddotfiles-8af8a11034816f54dec1332ac43e44320db9cb48.tar.gz
dotfiles-8af8a11034816f54dec1332ac43e44320db9cb48.zip
Improve comments on shell scripts
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