From 97e75841cf1b2239e0e117e50868457aecf02bad Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Thu, 30 Aug 2018 18:10:04 -0500 Subject: [PATCH] Add ~/.local/{bin,sbin} as PATH components if available --- bash-config/bash_profile.d/10-local-bin | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash-config/bash_profile.d/10-local-bin b/bash-config/bash_profile.d/10-local-bin index 7bfa752..dc12bc8 100644 --- a/bash-config/bash_profile.d/10-local-bin +++ b/bash-config/bash_profile.d/10-local-bin @@ -2,3 +2,8 @@ [ -d "${HOME}/sbin" ] && PATH="${HOME}/sbin:${PATH}" [ -d "${HOME}/bin" ] && PATH="${HOME}/bin:${PATH}" + +# Also add ~/.local/{bin,sbin} if available + +[ -d "${HOME}/.local/sbin" ] && PATH="${HOME}/.local/sbin:${PATH}" +[ -d "${HOME}/.local/bin" ] && PATH="${HOME}/.local/bin:${PATH}" -- 2.45.0