Skip to content

Commit 9668081

Browse files
committed
aitools: use $HOME in update-prune test
Address review feedback: sethome exports HOME on Windows too (see acceptance/script.prepare), so the ${USERPROFILE:-$HOME} fallback is unnecessary here. Use plain $HOME. Co-authored-by: Isaac
1 parent 909d1c8 commit 9668081

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • acceptance/experimental/aitools/skills/update-prune

acceptance/experimental/aitools/skills/update-prune/script

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ sethome home
55
# the raw-skill prune path without shelling out to a plugin-capable agent's CLI.
66
# A plugin agent (e.g. Claude Code) would run `claude plugin install` during
77
# update, making the output depend on whether `claude` is on the host PATH.
8-
# Prefer USERPROFILE on Windows.
9-
mkdir -p "${USERPROFILE:-$HOME}/.cursor"
8+
# sethome sets HOME on Windows too, so $HOME is enough here.
9+
mkdir -p "$HOME/.cursor"
1010

1111
title "install two skills"
1212
trace $CLI experimental aitools install --skills-only --global

0 commit comments

Comments
 (0)