2024-04-13 13:16:29 -04:00
|
|
|
# Additional ZSH settings via Home Manager
|
2024-11-08 09:38:25 -05:00
|
|
|
{ pkgs, ... }:
|
2024-05-07 18:02:59 -04:00
|
|
|
{
|
2024-10-15 10:22:53 -04:00
|
|
|
programs = {
|
2024-11-08 09:38:25 -05:00
|
|
|
command-not-found.enable = true;
|
|
|
|
|
2024-10-15 10:22:53 -04:00
|
|
|
zsh = {
|
2024-05-07 18:02:59 -04:00
|
|
|
enable = true;
|
2024-10-15 10:22:53 -04:00
|
|
|
autosuggestion.enable = true;
|
|
|
|
syntaxHighlighting.enable = true;
|
|
|
|
history.ignoreDups = true; # Do not enter command lines into the history list if they are duplicates of the previous event.
|
2024-11-08 09:38:25 -05:00
|
|
|
prezto = {
|
|
|
|
git.submoduleIgnore = "untracked"; # Ignore submodules when they are untracked.
|
|
|
|
};
|
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "zsh-nix-shell";
|
|
|
|
file = "nix-shell.plugin.zsh";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "chisui";
|
|
|
|
repo = "zsh-nix-shell";
|
|
|
|
rev = "v0.8.0";
|
|
|
|
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
|
|
|
|
};
|
2024-10-18 11:45:40 -04:00
|
|
|
}
|
2024-11-08 09:38:25 -05:00
|
|
|
];
|
|
|
|
oh-my-zsh = {
|
|
|
|
enable = true;
|
|
|
|
plugins = [
|
|
|
|
"command-not-found"
|
|
|
|
"direnv"
|
|
|
|
"dotenv"
|
|
|
|
"extract"
|
|
|
|
"git"
|
|
|
|
"systemd"
|
|
|
|
];
|
|
|
|
};
|
2024-05-07 18:02:59 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|