mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-22 12:07:34 +00:00
fix: resolve shell startup errors and streamline tool management
- Guard brew shellenv in fish config with test -x for Linux compat - Pin Python to 3.13 with compile=true (freethreaded builds broken) - Pin neovim, go, terraform, aws-cli, cmake, dotnet-ef to stable versions - Remove hugo and gdu from mise (unused / broken upstream) - Comment out pipx-backed tools (mise can't find uvx when self-managed) - Move mise [settings] above [tools] with pipx.uvx=true - Fix dnf group name for dnf5 (development-tools lowercase) - Remove vendored fzf binary (now managed by mise) - Simplify Dotbot: force-relink mise config, targeted ~/.local clean, remove fzf custom linking (now via standard ~/.config/ glob) - Fix lint gate hook to find yarn via mise shims
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
|
||||
cd "$CLAUDE_PROJECT_DIR" || exit 0
|
||||
|
||||
# Ensure node/yarn are on PATH via mise
|
||||
eval "$(mise activate bash --shims)" 2> /dev/null
|
||||
node_dir="$(mise where node 2> /dev/null)/bin"
|
||||
[ -d "$node_dir" ] && export PATH="$node_dir:$PATH"
|
||||
|
||||
output=$(yarn lint 2>&1)
|
||||
status=$?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user