41 lines
857 B
Markdown
41 lines
857 B
Markdown
# shell
|
|
|
|
zsh configuration across all hosts.
|
|
|
|
## prompt
|
|
|
|
**pure** - minimal, fast, shows git status.
|
|
- green `>` on success
|
|
- red `>` on error
|
|
- right prompt: current time in gray
|
|
|
|
## plugins
|
|
|
|
| plugin | source | purpose |
|
|
|--------|--------|---------|
|
|
| pure | github (v1.23.0) | prompt theme |
|
|
| zsh-syntax-highlighting | nixpkgs | command coloring |
|
|
| zsh-autosuggestions | nixpkgs | gray command hints |
|
|
|
|
## history
|
|
|
|
- size: 10000
|
|
- shared between sessions
|
|
- ignores duplicates
|
|
- stored in `~/.local/share/zsh/history` (xdg)
|
|
|
|
## universal aliases
|
|
|
|
| alias | what |
|
|
|-------|------|
|
|
| `ll` | `eza -l --icons --git` |
|
|
| `la` | `eza -la --icons --git` |
|
|
| `ff` | `fastfetch` |
|
|
|
|
## startup
|
|
|
|
fastfetch runs automatically when opening new shell.
|
|
|
|
## host-specific
|
|
|
|
see `docs/poppy.md` and `docs/muscari.md` for per-host aliases (nix rebuild commands differ).
|