21 lines
581 B
Nix
21 lines
581 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "agnoster";
|
|
plugins = [ "git" ];
|
|
};
|
|
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
|
|
source ${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use/you-should-use.plugin.zsh
|
|
setopt HIST_IGNORE_SPACE
|
|
setopt RM_STAR_WAIT
|
|
'';
|
|
};
|
|
}
|