aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sh/profile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sh/profile b/sh/profile
index 5dfe0ef3..afc308ea 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
+[ -d "$HOME"/.local/bin ] && PATH=$HOME/.local/bin:$PATH
# Load all supplementary scripts in ~/.profile.d
for sh in "$HOME"/.profile.d/*.sh ; do