This is a modern Docker development container featuring:
- Zsh + Oh My Zsh, autosuggestions, syntax highlighting, and fzf fuzzy search
- Starship prompt themed and modularized (using aharoJ’s high-contrast config)
- WordPress CLI + AI plugins pre-installed
- Auto-cloning of your private dotfiles if not mounted
- GitHub Actions compatible
This dev environment uses Starship with imported module configs for maximum visual clarity:
| Module | What it does |
|---|---|
| Directory | Shows pretty, icon-enhanced working directory |
| Git | Vivid branch/status display, ahead/behind, icons |
| Languages | Detects & shows Node, Python, PHP, etc. version info |
| Battery | Status shown (for laptops) |
| Time | Clock in prompt |
| Cmd | Time each command took to run |
| Name | Shows username/host info |
Prompt modules are managed via modular TOML configs in /scripts/active/ and /scripts/non-active/, then imported in starship.toml using the Starship import system.
(See /z/ for more screenshots, if desired.)
-
Clone this repo:
git clone https://github.com/yourname/dDd-dev-env.git cd dDd-dev-env -
Copy your private dotfiles repo to
/dDd-Dev/.dotfileson your machine
(Or let the container clone it for you on first run.) -
Build and run:
docker build -t ddd-dev . # pass your host path as an argument or set DEV_DATA_PATH ./run-dev-env.sh /path/to/drive
If
/dDd-Dev/.dotfilesis missing, the container will auto-clone from your private repo.
Inside the container, Zsh will:
- Source
$DEV_DATA_PATH/.dotfiles/.zshrc - Initialize Starship prompt
- Load Oh My Zsh with
zsh-autosuggestions&zsh-syntax-highlighting - Provide helpful aliases (
ls→exa --icons,ll,la,l) and setsEDITOR=nano - To add or remove features, edit
starship.tomland modify theimportarray:import = [ "scripts/active/directory.toml", "scripts/active/git.toml", "scripts/active/languages.toml", "scripts/non-active/time.toml", # comment this to hide the clock "scripts/non-active/battery.toml", # comment this if not on a laptop "scripts/non-active/cmd.toml", "scripts/non-active/name.toml" ]
- Or directly edit the individual
*.tomlfiles for custom tweaks.
The image comes with handy utilities like ripgrep, fzf, bat, exa, htop, and tmux preinstalled.
- Preinstalled with WP-CLI and the following AI/static plugins: AI Engine, Jetpack AI, Rank Math AI, Bertha AI, 10Web AI, WP2Static, Simply Static Pro.
- See
Dockerfilefor install commands and upgrade instructions.
Screenshots of the prompt and its modules are in /z/ if you add them.
Open this repo in a new Codespace or VS Code Remote-Container. The devcontainer will:
- Mount a persistent volume at
/dDd-Dev - On first startup, clone your data repo into
/dDd-Devif the volume is empty. This uses[ "$(ls -A /dDd-Dev 2>/dev/null)" ] || git clone $DEV_DATA_REPO_URL /dDd-Dev.
- Starship config and modular setup based on aharoJ/starship-config
- Starship prompt: starship.rs
- Zsh, Oh My Zsh, and plugins: see their respective repos