nix-dotfiles/modules/hm/zsh.nix

31 lines
611 B
Nix

{ pkgs, ... }:
{
home.packages = builtins.attrValues { inherit (pkgs) nix-zsh-completions zsh-completions; };
programs.zsh = {
enable = true;
autocd = true;
syntaxHighlighting.enable = true;
plugins = [ ];
initContent = ''
zstyle ':completion:*' menu select
setopt CORRECT
setopt AUTO_CD
setopt CHASE_LINKS
setopt PUSHD_TO_HOME
'';
oh-my-zsh = {
enable = true;
plugins = [
# "common-aliases"
"cp"
"dirhistory"
"git-auto-fetch"
"git"
"sudo"
];
extraConfig = "";
};
};
}