Open goj opened 1 year ago
there's a hack to fix it:
env = [
{
name = "pre_commit_hooks";
value = ''
"$(source ${
pkgs.writeText "env.sh"
"${config.pre-commit.installationScript}"
})"'';
}
];
To Reproduce
export DEVSHELL_NO_MOTD=1
to .zshrcrust-nix-templater -n hello
direnv allow
Actual behavior The
pre-commit hooks are disabled.
message is printed when entering the dev shell.Expected behavior No extra messages printed before the prompt
System information I'm using zsh
Additional context If some people find that message useful, then docs on how to get rid of it would be appreciated.