{ config, pkgs, ... }: { config.programs.zsh = { initContent = '' export PATH=$PATH:$HOME/.cargo/bin bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word # quick haiku: no CLAUDE.md, no skills/hooks/settings, minimal system prompt llm() { CLAUDE_CODE_DISABLE_CLAUDE_MDS=1 claude --model haiku \ --setting-sources "" --disable-slash-commands --tools "" \ --system-prompt "concise plain text answer pls." -p "$@" } ''; enableCompletion = true; shellAliases = { s = "nix-shell -p"; my-direnvallow = "echo \"use nix\" > .envrc && direnv allow"; my-ip4 = "ip addr show | grep 192"; deadnix = "nix run github:astro/deadnix -- "; statix = "nix run github:oppiliappan/statix -- "; }; history = { size = 10000; path = "${config.xdg.dataHome}/zsh/history"; expireDuplicatesFirst = true; }; }; }