mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Improve the sandbox development environment to support "new user" simulation
while maintaining a high-quality developer experience.
Changes:
- Persistence: Redirect HOME to /home/developer and add a persistent volume
to preserve shell history, gh auth state, and isolated environments.
- Tooling: Pre-install GitHub CLI (gh), air (hot-reload), and delve (dlv)
in the sandbox Dockerfile.
- Isolated Envs:
- Update ssenv to store environments in persistent $HOME/.ss-envs.
- Add --init flag to ssnew/ssenv to auto-run 'ss init -g' in new envs.
- Add visual PS1 indicator when an isolated environment is active.
- DX Refinements:
- Add a centralized 'help' command (aliased to override bash built-in).
- Fix ANSI color rendering in help script.
- Robust PROJECT_ROOT redirection in skillshare wrapper script.
- Support /home/developer in setup.sh environment checks.
5 lines
83 B
Bash
Executable File
5 lines
83 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
exec /workspace/.devcontainer/bin/help "$@"
|