nutools/bashrc

13 lines
383 B
Bash

# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
[ -f ~/.nutoolsrc ] && . ~/.nutoolsrc
function uprovide() { :; }
source @@dest@@/lib/ulib/uenv || return
if [ -n "$UTOOLS_LOCAL_PROFILES" ]; then
__uenv_source_dirs @@dest@@/bashrc.d "$HOME/etc/bashrc.${HOSTNAME%%.*}.d"
else
__uenv_source_dirs @@dest@@/bashrc.d "$HOME/etc/bashrc.d"
fi
__uenv_cleanup