setup-zellijlisted
Install: claude install-skill atman-33/workhub
## Task
Install `zellij` terminal multiplexer and configure each shell profile (PowerShell and
WSL bash / zsh) to launch it automatically on startup — replacing any existing herdr
autostart block installed by `setup-herdr`.
## Steps
### 1. Check Zellij installation (per environment)
**PowerShell:**
Run `Get-Command zellij -ErrorAction SilentlyContinue` (or `zellij --version`).
**WSL:**
Run `wsl -- which zellij` (or `wsl -- zellij --version`).
If found in an environment, mark that environment "already installed" and skip to step 3
for it. If not found, continue to step 2 for that environment.
---
### 2. Install Zellij (only after user confirmation)
These are system-level installers — always show the exact command and get the user's
go-ahead before running it via Bash/PowerShell (same convention `setup-herdr` uses for
herdr's own install script).
**Windows:**
```powershell
winget install --id Zellij.Zellij -e
```
**WSL/Linux:**
```bash
sudo apt update && sudo apt install -y zellij
```
> If the distribution doesn't ship `zellij`, install it from Cargo instead:
> `cargo install --locked zellij` (or see https://zellij.dev).
If the user declines, mark that environment "skipped (declined)" and continue with the
other environment.
---
### 3. Configure shell profiles: remove herdr autostart, add Zellij autostart
Process the following **four profiles** independently: PowerShell 7 (`$PROFILE`),
Windows PowerShell, WSL bash, and WSL zsh (only if zsh is installed).
#### 3