fix: harden error handling and shell-agnostic mise activation

- Guard x-path call to prevent PATH clobber when missing
- Make husky init.sh use shell-agnostic mise activate --shims
- Add fail-fast to Tier 2 install steps in dfm install all
- Check brew update exit status before reporting success
- Always run mise install during reset_nvim (handles bootstrap)
- Use double-bracket conditional in cleanup script
This commit is contained in:
2026-03-18 11:17:31 +02:00
parent 63977f81db
commit 9df2996a5d
4 changed files with 15 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ set -euo pipefail
# because nvim's Mason installs some of the same tool names.
#
# Ensure DOTFILES is set even when script is invoked directly
if [ -z "${DOTFILES:-}" ]; then
if [[ -z "${DOTFILES:-}" ]]; then
DOTFILES="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
export DOTFILES
fi