2023-06-28 11:12:58 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
syntaxHighlighting = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.hello;
|
|
|
|
styles.comment = "fg=#6c6c6c";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
test.stubs.zsh = { };
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileContains home-files/.zshrc "source ${pkgs.hello}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
2023-07-15 11:49:12 +02:00
|
|
|
assertFileContains home-files/.zshrc "ZSH_HIGHLIGHT_STYLES+=('comment' 'fg=#6c6c6c')"
|
2023-06-28 11:12:58 +02:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|