nixos/home/zsh/default.nix
Evie Litherland-Smith 1957423a7b Home-manager updates
pinentryFlavor -> pinentryPackage

eza.enableAliases replaced in favour to per-shell integration options,
all true by default anyway

zsh.enableAutosuggestions -> zsh.autosuggestion.enable
2024-03-16 12:02:38 +00:00

31 lines
782 B
Nix

{...}: {
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
enableVteIntegration = true;
autocd = true;
historySubstringSearch.enable = true;
history = {
extended = true;
ignoreDups = true;
ignoreSpace = true;
};
shellAliases = {gsa = "git-sync-all";};
oh-my-zsh = {
enable = true;
plugins = ["colored-man-pages" "lol" "rand-quote"];
theme = "";
};
completionInit = ''
autoload -Uz +X compinit && compinit
## case insensitive path-completion
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
zstyle ':completion:*' menu select
'';
initExtra = "source ${./transient.zsh}\n";
};
}