diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-27 13:14:12 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-07-27 13:14:12 +1200 |
commit | 7054dda7eb305fa6622ec2c597651335acb4d808 (patch) | |
tree | 396453962bab8b6a84e2f30e1b0244eb1ba48e9b /sh/profile | |
parent | Merge branch 'release/v12.9.0' into develop (diff) | |
download | dotfiles-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/profile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |