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