Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Thanks to the following users for improving SandVault:
- [@redLocomotive](https://github.com/redLocomotive)
- [@gamepoet](https://github.com/gamepoet)
- [@jeffbowen](https://github.com/jeffbowen)
- [@hobthross](https://github.com/hobthross)
14 changes: 8 additions & 6 deletions sv
Original file line number Diff line number Diff line change
Expand Up @@ -1884,12 +1884,14 @@ fi
# won't collide with any other skill named "sv". Use /bin/ln explicitly —
# GNU coreutils `ln` on PATH (e.g. via Homebrew) has incompatible flag
# handling that has bitten this project before.
SV_SKILL_SOURCE="$WORKSPACE/skills/sandvault/sv"
SV_SKILL_DEST="$HOME/.claude/skills/sandvault-sv"
if [[ ! -L "$SV_SKILL_DEST" ]]; then
mkdir -p "$(dirname "$SV_SKILL_DEST")"
/bin/ln -sfn "$SV_SKILL_SOURCE" "$SV_SKILL_DEST"
debug "Installed /sv skill symlink at $SV_SKILL_DEST"
if [[ -d "$HOME/.claude" ]]; then
SV_SKILL_SOURCE="$WORKSPACE/skills/sandvault/sv"
SV_SKILL_DEST="$HOME/.claude/skills/sandvault-sv"
if [[ ! -L "$SV_SKILL_DEST" ]]; then
mkdir -p "$(dirname "$SV_SKILL_DEST")"
/bin/ln -sfn "$SV_SKILL_SOURCE" "$SV_SKILL_DEST"
debug "Installed /sv skill symlink at $SV_SKILL_DEST"
fi
fi

if [[ "$COMMAND" == "build" ]]; then
Expand Down