diff --git a/run_onchange_after_install_main_deps.sh.tmpl b/run_onchange_after_install_main_deps.sh.tmpl index aef6963..0a80069 100644 --- a/run_onchange_after_install_main_deps.sh.tmpl +++ b/run_onchange_after_install_main_deps.sh.tmpl @@ -70,7 +70,8 @@ while [ $# -gt 0 ]; do done # Auto-detect non-interactive mode when no real terminal is present -if [ ! -t 0 ] || [ ! -t 1 ]; then +# ENVLAT=1 means env.lat is piping us but a real terminal is behind it +if [ -z "$ENVLAT" ] && { [ ! -t 0 ] || [ ! -t 1 ]; }; then NON_INTERACTIVE=1 SKIP_NVIM_BOOTSTRAP=1 fi