2020-10-12 00:27:44 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2021-09-26 09:08:45 +00:00
|
|
|
programs.zsh.prezto.enable = true;
|
2020-10-12 00:27:44 +00:00
|
|
|
|
2021-09-26 09:08:45 +00:00
|
|
|
test.stubs.zsh-prezto = {
|
|
|
|
outPath = null;
|
|
|
|
buildScript = ''
|
|
|
|
mkdir -p $out/share/zsh-prezto/runcoms
|
|
|
|
echo '# zprofile' > $out/share/zsh-prezto/runcoms/zprofile
|
|
|
|
echo '# zlogin' > $out/share/zsh-prezto/runcoms/zlogin
|
|
|
|
echo '# zlogout' > $out/share/zsh-prezto/runcoms/zlogout
|
|
|
|
echo '# zshenv' > $out/share/zsh-prezto/runcoms/zshenv
|
2020-10-12 00:27:44 +00:00
|
|
|
'';
|
|
|
|
};
|
2021-09-26 09:08:45 +00:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.zpreztorc
|
|
|
|
'';
|
2020-10-12 00:27:44 +00:00
|
|
|
}
|