-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
#!/bin/bash
ENV_BEFORE=$(export -p | sort)
Run your setup commands that modify the environment
source ~/.nvm/nvm.sh
nvm use 20
if [ -n "$CLAUDE_ENV_FILE" ]; then
ENV_AFTER=$(export -p | sort)
comm -13 <(echo "$ENV_BEFORE") <(echo "$ENV_AFTER") >> "$CLAUDE_ENV_FILE"
fi
exit 0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels