nixos/home/env/zsh.nix
Evie Litherland-Smith 36f2f5a102 Add tokyonight theme
Add tokyonight theme to fish and bat (and by extension delta)
Add extra zsh features
2023-05-28 15:12:46 +01:00

22 lines
647 B
Nix

{config, ...}: {
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableCompletion = true;
enableSyntaxHighlighting = true;
enableVteIntegration = true;
autocd = true;
dotDir = ".config/zsh";
historySubstringSearch.enable = true;
shellAliases = {
ll = "ls -l";
lg = "lazygit";
nixos-update = "sudo git -C /etc/nixos/config pull && sudo nixos-rebuild switch";
};
history.path = "${config.xdg.dataHome}/zsh/history";
};
programs.keychain.enableZshIntegration = true;
programs.starship.enableZshIntegration = true;
programs.nix-index.enableZshIntegration = true;
}