2024-02-11 06:53:37 +00:00
|
|
|
{...}: {
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
enableCompletion = true;
|
2024-03-31 12:59:24 +01:00
|
|
|
enableAutosuggestions = true;
|
2024-02-11 06:53:37 +00:00
|
|
|
syntaxHighlighting.enable = true;
|
|
|
|
enableVteIntegration = true;
|
|
|
|
autocd = true;
|
|
|
|
historySubstringSearch.enable = true;
|
2024-02-12 06:57:13 +00:00
|
|
|
history = {
|
|
|
|
extended = true;
|
|
|
|
ignoreDups = true;
|
|
|
|
ignoreSpace = true;
|
|
|
|
};
|
2024-03-25 10:13:37 +00:00
|
|
|
shellAliases = {
|
2024-03-27 14:37:11 +00:00
|
|
|
nixos-repl = "nixos-rebuild repl";
|
2024-03-25 10:13:37 +00:00
|
|
|
nixos-test = "sudo nixos-rebuild test";
|
|
|
|
nixos-boot = "sudo nixos-rebuild boot";
|
|
|
|
nixos-switch = "sudo nixos-rebuild switch";
|
|
|
|
gsa = "git-sync-all";
|
|
|
|
};
|
2024-02-11 06:53:37 +00:00
|
|
|
oh-my-zsh = {
|
|
|
|
enable = true;
|
|
|
|
plugins = ["colored-man-pages" "lol" "rand-quote"];
|
|
|
|
theme = "";
|
|
|
|
};
|
2024-02-12 06:57:13 +00:00
|
|
|
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
|
|
|
|
'';
|
2024-02-12 07:10:20 +00:00
|
|
|
initExtra = "source ${./transient.zsh}\n";
|
2024-02-11 06:53:37 +00:00
|
|
|
};
|
|
|
|
}
|