config/maddie/mommy.nix
2023-03-09 08:33:38 +00:00

13 lines
218 B
Nix

{ config, ... }:
{
programs.zsh.initExtra = ''
precmd() { [ $? -ne 0 ] && $HOME/.local/bin/mommy -n }
'';
home.file.".local/bin/mommy" = {
source = ./mommy/shell-mommy.sh;
executable = true;
};
}