#--------------------------------------------------------------------------------
[ "$1" = "--nb-debug" ] && export NB_DEBUG="yes" && shift
[ "$1" = "--nb-no-repos" ] && export NB_NO_REPOS="yes" && shift
-#[ "$NB_DEBUG" = "yes" ] || return 0
+#which dirname > /dev/null || return
nb_debug() {
[ -n "$NB_DEBUG" -a "$NB_DEBUG" = "yes" ] || return 0
if [ -n "$NB_ROOT" ]; then
alias which=which_cache
+ nb_debug "PATH=$PATH"
+ #PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
for i in \
${NB_ROOT}/etc/profile.d/envs \
${NB_ROOT}/etc/profile.d/aliases \
fi
-#export NB_LAST_LOAD_TIME=$(date +"%Y-%M-%d %T")
-_nb_unset; return 0
+_nb_unset
+return 0