Kieran's opinionated (and probably slightly dumb) nix config
1# shell
2
3Zsh configuration with oh-my-posh prompt, syntax highlighting, fzf-tab, zoxide, and Tangled git workflow tooling.
4
5## Options
6
7All options under `atelier.shell`:
8
9| Option | Type | Default | Description |
10|--------|------|---------|-------------|
11| `enable` | bool | `false` | Enable shell configuration |
12
13### Tangled
14
15Options for the `tangled-setup` and `mkdev` scripts that manage dual-remote git workflows (Tangled knot + GitHub).
16
17| Option | Type | Default | Description |
18|--------|------|---------|-------------|
19| `tangled.plcId` | string | — | ATProto DID for Tangled identity |
20| `tangled.githubUser` | string | — | GitHub username |
21| `tangled.knotHost` | string | — | Knot git host (e.g. `knot.dunkirk.sh`) |
22| `tangled.domain` | string | — | Tangled domain for repo URLs |
23| `tangled.defaultBranch` | string | `"main"` | Default branch name |
24
25### Included tools
26
27- **`tangled-setup`** — configures a repo with `origin` pointing to knot and `github` pointing to GitHub
28- **`mkdev`** — creates a new repo on both Tangled and GitHub simultaneously
29- **oh-my-posh** — custom prompt showing path, git status (ahead/behind), exec time, nix-shell indicator, ZMX session, SSH hostname
30- **Aliases** — `cat=bat`, `ls=eza`, `cd=z` (zoxide), and more