nixos/home/zsh/default.nix
2024-02-27 22:20:00 +01:00

18 lines
434 B
Nix

{ user, pkgs, ... }: {
home.packages = with pkgs; [ fd ];
programs.zsh = {
enable = true;
autocd = false;
enableAutosuggestions = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
shellAliases = {
nrebuild = "sudo nixos-rebuild switch --flake /home/${user}/nixos#prismo";
};
initExtra = ''
bindkey -v
bindkey '^R' history-incremental-search-backward
'';
};
}