This commit is contained in:
2023-02-23 12:53:49 -05:00
parent a554166440
commit 2ea0d0aaa8

View File

@@ -62,6 +62,7 @@ programs = {
man.enable = true;
nix-index.enable = true;
yt-dlp.enable = true;
bash = {
enable = true;
historyControl = ["ignorespace"];
@@ -80,6 +81,26 @@ programs = {
ssh-add -l
'';
};
programs.zsh = {
enable = true;
shellAliases = {
ll = "ls -l";
update = "sudo nixos-rebuild switch";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
zplug = {
enable = true;
plugins = [
{ name = "zsh-users/zsh-autosuggestions"; } # Simple plugin installation
{ name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } # Installations with additional options. For the list of options, please refer to Zplug README.
];
};
};
git = {
enable = true;
userName = "sstent";