# -*- mode: sh -*- function initDirenv { # direnv needs a writable home: run "export HOME=$(pwd)" run 'eval "$(direnv hook bash)"' } function test_simpleEnvrcWorks { initDirenv writeFile .envrc <