diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-01 13:36:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-01 13:36:51 +1200 |
commit | e1fa32dbd1a26c78ffe72eb690f5512fa1c27f92 (patch) | |
tree | 94943584e9deb75c6c9d9eecf8602520423bc686 /sh | |
parent | Remove bold args in cf(1df) and cfr(1df) manpages (diff) | |
download | dotfiles-e1fa32dbd1a26c78ffe72eb690f5512fa1c27f92.tar.gz dotfiles-e1fa32dbd1a26c78ffe72eb690f5512fa1c27f92.zip |
Use terser syntax for path addition
Diffstat (limited to 'sh')
-rw-r--r-- | sh/profile | 4 |
1 files changed, 1 insertions, 3 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 +[ -d "$HOME"/.local/bin ] && PATH=$HOME/.local/bin:$PATH # Load all supplementary scripts in ~/.profile.d for sh in "$HOME"/.profile.d/*.sh ; do |