Skip to content

Commit

Permalink
Add nodejs paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperkin committed Jan 4, 2014
1 parent 12f0bfa commit 36b01d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions etc/sh/paths
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ NetBSD)
setpath PATH \
${HOME}/scripts \
${HOME}/bin \
${HOME}/node_modules/.bin \
${HOME}/pkg/${OS_PREFIX}/sbin \
${HOME}/pkg/${OS_PREFIX}/bin \
${HOME}/pkg/sbin \
Expand All @@ -33,6 +34,7 @@ NetBSD)
setpath PATH \
${HOME}/scripts \
${HOME}/bin \
${HOME}/node_modules/.bin \
${HOME}/pkg/${OS_PREFIX}/sbin \
${HOME}/pkg/${OS_PREFIX}/bin \
${HOME}/pkg/sbin \
Expand Down Expand Up @@ -70,6 +72,13 @@ setpath MANPATH \
/usr/dt/man \
/usr/local/man

# It would be really handly to have node_modules/.man
for dir in ${HOME}/node_modules/*/man; do
if [ -d ${dir} ]; then
prependpath MANPATH ${dir}
fi
done

# ${CDPATH} is useful for providing a list of directories used with the cd
# command to search in places other than the current working directory.

Expand Down

0 comments on commit 36b01d8

Please sign in to comment.