mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
44 lines
792 B
Nix
Executable file
44 lines
792 B
Nix
Executable file
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
defaultKeymap = "viins";
|
|
|
|
history = {
|
|
size = 10000;
|
|
save = 10000;
|
|
share = true;
|
|
ignoreAllDups = true;
|
|
ignoreDups = true;
|
|
ignoreSpace = true;
|
|
};
|
|
|
|
shellAliases = {
|
|
poby = "echo my name is poby";
|
|
nixconfig = "cd ~/nix-darwin && vim flake.nix";
|
|
just-darwin = "cd ~/nix-darwin && just darwin";
|
|
};
|
|
|
|
sessionVariables = {
|
|
EDITOR = "nvim";
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "robbyrussell";
|
|
plugins = [
|
|
"git"
|
|
"gitignore"
|
|
"history"
|
|
"sudo"
|
|
"vi-mode"
|
|
"zoxide"
|
|
"eza"
|
|
];
|
|
};
|
|
};
|
|
}
|