NixOS-Config/modules/home/programs/terminal/zsh/default.nix

21 lines
581 B
Nix
Raw Normal View History

{ pkgs, ... }:
2024-10-09 03:36:08 -04:00
{
2024-09-23 16:22:01 -04:00
programs.zsh = {
2024-08-24 22:16:51 -04:00
enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
theme = "agnoster";
plugins = [ "git" ];
2024-08-24 22:16:51 -04:00
};
initExtra = ''
${pkgs.any-nix-shell}/bin/any-nix-shell zsh --info-right | source /dev/stdin; pfetch
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
2024-11-19 13:20:34 -05:00
source ${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
2024-08-24 22:16:51 -04:00
setopt HIST_IGNORE_SPACE
setopt RM_STAR_WAIT
'';
};
}