{ config, pkgs, ... }: { config.programs.zsh = { initContent = '' export PATH=$PATH:$HOME/.cargo/bin bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word ''; enableCompletion = true; shellAliases = { myos-rebuild-boot = "sudo nixos-rebuild boot --flake .# --show-trace --log-format internal-json -v |& ${pkgs.nix-output-monitor}/bin/nom --json"; myos-rebuild-switch = "sudo nixos-rebuild switch --flake .# --show-trace --log-format internal-json -v |& ${pkgs.nix-output-monitor}/bin/nom --json"; 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; }; }; }