diff --git a/.dsk b/.dsk index 884a9185..0de0c819 160000 --- a/.dsk +++ b/.dsk @@ -1 +1 @@ -Subproject commit 884a9185254472bd99277723ced52e7700df350b +Subproject commit 0de0c81949eb0397fffd79c60c5249c1ae96e533 diff --git a/.profile b/.profile index dec1250e..4ad168b3 100755 --- a/.profile +++ b/.profile @@ -33,7 +33,11 @@ else export EDITOR="vi" fi -export PATH=$PATH:$HOME/.local/bin +# Patch PATH if necessary +# This string substitution is POSIX-compliant +localbindir="$HOME/.local/bin" +[ "${PATH#*$localbindir}" == "$PATH" ] && export PATH="$PATH:$localbindir" +unset localbindir # If emerge exists, add emerge aliases if `which emerge > /dev/null 2>&1` ; then