diff options
author | David Robillard <d@drobilla.net> | 2020-12-25 15:32:23 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-25 15:32:23 +0100 |
commit | 96caf756a8beb0e87ecf53b96d9824b8fa8f81b1 (patch) | |
tree | b0c45406a2586f697b069d18242d558055b8fb4c /bash | |
parent | 38b4aa3081c879d2ab6f6e0eec11ba6b59214015 (diff) | |
download | dotfiles-96caf756a8beb0e87ecf53b96d9824b8fa8f81b1.tar.gz dotfiles-96caf756a8beb0e87ecf53b96d9824b8fa8f81b1.tar.bz2 dotfiles-96caf756a8beb0e87ecf53b96d9824b8fa8f81b1.zip |
Fix local PATH configuration
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.bashrc | 7 |
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 |