added zsh features
This commit is contained in:
19
modules/features/zsh/default.nix
Normal file
19
modules/features/zsh/default.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{inputs, ...}: {
|
||||||
|
perSystem = {
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
packages.zsh = inputs.wrappers.wrappers.zsh.wrap {
|
||||||
|
inherit pkgs;
|
||||||
|
zshAliases = {
|
||||||
|
some = "nvim";
|
||||||
|
ff = lib.getExe pkgs.fastfetch;
|
||||||
|
cat = lib.getExe pkgs.bat;
|
||||||
|
};
|
||||||
|
zshrc.content = ''
|
||||||
|
export SOME=some
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user