mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
45 lines
1.1 KiB
Nix
45 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
package = pkgs.zsh;
|
|
enableCompletion = true;
|
|
autocd = true;
|
|
loginExtra = "fastfetch --logo mac2_small -s DateTime:Battery:CPU:GPU:Memory:Host:Media";
|
|
|
|
autosuggestion = {
|
|
enable = true;
|
|
strategy = [ "match_prev_cmd" ];
|
|
highlight = "fg=grey, underline";
|
|
};
|
|
|
|
history = {
|
|
append = true;
|
|
extended = true;
|
|
ignoreSpace = false;
|
|
save = 100000;
|
|
size = 100000;
|
|
saveNoDups = true;
|
|
share = true;
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
package = pkgs.oh-my-zsh;
|
|
plugins = [
|
|
"git"
|
|
"react-native"
|
|
"golang"
|
|
"docker"
|
|
#"brew"
|
|
"eza"
|
|
"fzf"
|
|
"gh"
|
|
"kitty"
|
|
#"zsh-autosuggestions"
|
|
#"zsh-syntax-highlighting"
|
|
];
|
|
};
|
|
};
|
|
} |