2020-10-12 02:27:44 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
2021-09-26 11:08:45 +02:00
|
|
|
programs.zsh.prezto.enable = true;
|
2020-10-12 02:27:44 +02:00
|
|
|
|
2021-09-26 11:08:45 +02: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 02:27:44 +02:00
|
|
|
'';
|
|
|
|
};
|
2021-09-26 11:08:45 +02:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/.zpreztorc
|
|
|
|
'';
|
2020-10-12 02:27:44 +02:00
|
|
|
}
|