root: add setup-hook

This commit is contained in:
Dmitry Kalinkin
2016-09-18 04:45:18 -04:00
parent d5e24d3f80
commit 7b9deaba81
2 changed files with 11 additions and 0 deletions
@@ -0,0 +1,9 @@
thisroot () {
# Workaround thisroot.sh dependency on man
if [ -z "${MANPATH}" ]; then
MANPATH=:
fi
source @out@/bin/thisroot.sh
}
envHooks+=(thisroot)