feat: migrate away from zpreszto

This commit is contained in:
2025-07-22 11:45:20 -04:00
parent 594bc16677
commit 889e07f917
5 changed files with 42 additions and 40 deletions

View File

@@ -1,7 +1,8 @@
{
pkgs,
...
}: {
}:
{
home.packages = with pkgs; [
zsh-completions
@@ -12,7 +13,6 @@
lazygit
];
programs.bat = {
enable = true;
};
@@ -30,11 +30,12 @@
};
};
programs.git.extraConfig = {
user.signingkey = "~/.ssh/id_ed25519.pub";
};
programs.zsh = {
enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
autosuggestion.enable = true;
autocd = true;
history = {
size = 1000000;
extended = true;
@@ -44,23 +45,23 @@
ignoreAllDups = true;
ignoreSpace = true;
};
syntaxHighlighting.enable = true;
prezto = {
enable = true;
editor.keymap = "vi";
editor.dotExpansion = true;
pmodules = [
"environment"
"terminal"
"utility"
"directory"
"editor"
"history"
"syntax-highlighting"
"history-substring-search"
"autosuggestions"
];
};
historySubstringSearch.enable = true;
# prezto = {
# enable = true;
# editor.keymap = "vi";
# editor.dotExpansion = true;
# pmodules = [
# # "environment"
# # "terminal"
# # "utility"
# # "directory"
# # "editor"
# # "history"
# # "syntax-highlighting"
# # "history-substring-search"
# # "autosuggestions"
# ];
# };
shellAliases = {
cat = "bat --theme=\"$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo 'gruvbox-dark' || echo 'gruvbox-light')\"";
lg = "lazygit";
@@ -77,7 +78,7 @@
programs.eza = {
enable = true;
enableZshIntegration = true;
extraOptions = ["--group-directories-first"];
extraOptions = [ "--group-directories-first" ];
};
programs.starship = {