summaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 55e470c..f1cd6e9 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -131,9 +131,12 @@ if [ -d "$HOME/.local/lib/node_modules/bin" ] ; then
PATH="$HOME/.local/lib/node_modules/bin:$PATH"
fi
-# set PATH so it includes user's private bin if it exists
+if [ -d "$HOME/.local/bin" ] ; then
+ PATH="$HOME/.local/bin:$PATH"
+fi
+
if [ -d "$HOME/bin" ] ; then
- PATH="$HOME/bin:$HOME/.local/bin:$PATH"
+ PATH="$HOME/bin:$PATH"
fi
if [ -d "/usr/lib/ccache/bin" ] ; then # Arch