Skip to content

Commit

Permalink
Update zprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique committed Nov 7, 2015
1 parent afd04bd commit b7c07c3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .zprofile
Expand Up @@ -28,11 +28,13 @@ if [[ $(id -u) -ne 0 ]]; then
export PATH
fi

for x in "${HOME}/x-tools/"*; do
[[ -d "${x}/bin" ]] && PATH="${PATH}:${x}/bin"
done
unset x
export PATH
if [[ -d "${HOME}/x-tools" ]]; then
for x in $(find "${HOME}/x-tools" -mindepth 1 -maxdepth 1 -type d); do
[[ -d "${x}/bin" ]] && PATH="${PATH}:${x}/bin"
done
unset x
export PATH
fi

# init console colors
if [[ $TERM = linux* ]]; then
Expand Down

0 comments on commit b7c07c3

Please sign in to comment.