aboutsummaryrefslogtreecommitdiff
path: root/sh/profile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-27 13:14:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-27 13:14:12 +1200
commit7054dda7eb305fa6622ec2c597651335acb4d808 (patch)
tree396453962bab8b6a84e2f30e1b0244eb1ba48e9b /sh/profile
parentMerge branch 'release/v12.9.0' into develop (diff)
downloaddotfiles-7054dda7eb305fa6622ec2c597651335acb4d808.tar.gz
dotfiles-7054dda7eb305fa6622ec2c597651335acb4d808.zip
Add local bindir even if it doesn't exist yet
Doesn't do any harm, as the directory is silently skipped if it doesn't exist.
Diffstat (limited to 'sh/profile')
-rw-r--r--sh/profile6
1 files changed, 2 insertions, 4 deletions
diff --git a/sh/profile b/sh/profile
index 7f16cb32..30247e24 100644
--- a/sh/profile
+++ b/sh/profile
@@ -1,7 +1,5 @@
-# Add ~/.local/bin to PATH if it exists
-if [ -d "$HOME"/.local/bin ] ; then
- PATH=$HOME/.local/bin:$PATH
-fi
+# Add ~/.local/bin to PATH
+PATH=$HOME/.local/bin:$PATH
# Load all supplementary scripts in ~/.profile.d
for sh in "$HOME"/.profile.d/*.sh ; do