21 lines
597 B
Nix
21 lines
597 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;
|
|
}
|