fix: improve shell detection, curl flags, and cleanup robustness

- Use ZSH_VERSION instead of ZSH_NAME for reliable zsh detection
- Document NVIM_* env vars as optional external overrides
- Add -fsSL flags to curl for mise bootstrap
- Consolidate duplicate shellcheck directives in install-fonts.sh
- Add explicit return 0 to cleanup script helper functions
- Add actionable remediation to uv-not-found error message
This commit is contained in:
2026-03-18 15:19:33 +02:00
parent 146e57351e
commit 5f40abc58c
3 changed files with 3 additions and 2 deletions

View File

@@ -36,6 +36,7 @@ remove_dir()
rm -rf "$dir"
msgr run_done "Removed $label"
fi
return 0
}
remove_file()
@@ -48,6 +49,7 @@ remove_file()
rm -f "$file"
msgr run_done "Removed $label: $file"
fi
return 0
}
msgr msg "Cleaning up old version manager installations..."