don't add .local/bin to the path multiple times

This commit is contained in:
Michael Bradley, Jr 2018-08-20 19:31:00 -05:00
parent ac25b34a93
commit 31b6995b6d
1 changed files with 3 additions and 1 deletions

4
env/.bash_env vendored
View File

@ -1,6 +1,8 @@
unset BASH_ENV
export PATH="${HOME}/.local/bin:$PATH"
if [[ :$PATH: != *:"${HOME}/.local/bin":* ]] ; then
export PATH="${HOME}/.local/bin:$PATH"
fi
nac () {
local txtbld=$(tput bold)