lua-5 setup-hook: quiet noisy 'cd -' printing path repeatedly

This commit is contained in:
Will Dietz 2019-01-30 12:53:01 -06:00
parent 18ad447b6f
commit d96dcb66fb

View file

@ -40,7 +40,7 @@ addToLuaPath() {
do
addToLuaSearchPathWithCustomDelimiter LUA_CPATH "$PWD/$pattern"
done
cd -
cd - >/dev/null
}
addEnvHooks "$hostOffset" addToLuaPath