changed shellGlobalAlias to shellAlias

nixos
Moritz Böhme 2021-09-29 13:35:14 +02:00
parent 27279976b2
commit 7ee5b03196
1 changed files with 7 additions and 12 deletions

View File

@ -6,19 +6,15 @@ let
zsh = {
enable = true;
dotDir = ".config/zsh";
history = {
expireDuplicatesFirst = true;
};
shellGlobalAliases = {
history = { expireDuplicatesFirst = true; };
shellAliases = {
ls = "exa -lh";
cat = "bat";
};
plugins = [
{
name = "zsh-syntax-highlighting";
src = inputs.zsh-syntax-highlighting;
}
];
plugins = [{
name = "zsh-syntax-highlighting";
src = inputs.zsh-syntax-highlighting;
}];
enableAutosuggestions = true;
enableCompletion = true;
};
@ -31,8 +27,7 @@ let
};
};
});
in
{
in {
environment.pathsToLink = [ "/share/zsh" ];
home-manager.users.moritz = { ... }: (base "/home/moritz");
}