From 96caf756a8beb0e87ecf53b96d9824b8fa8f81b1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 25 Dec 2020 15:32:23 +0100 Subject: Fix local PATH configuration --- bash/.bashrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bash/.bashrc') 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 -- cgit v1.2.1