changed shellGlobalAlias to shellAlias
parent
27279976b2
commit
7ee5b03196
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue