commit | a1f841f0a87d4d9e41ae2bc534afd6405f6403cb | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Tue May 02 13:00:24 2023 +0000 |
committer | Skyler Grey <skyler3665@gmail.com> | Tue May 02 13:00:24 2023 +0000 |
tree | c4de046ff64170e56c9ae17a31aa219911f67d7c | |
parent | 5a42322545bbb62b99deb8b31856529299d5de7d [diff] |
Remove unnecessary IFD from shell-mommy module
diff --git a/modules/mommy.nix b/modules/mommy.nix index e60eda1..9233ded 100644 --- a/modules/mommy.nix +++ b/modules/mommy.nix
@@ -1,10 +1,7 @@ { pkgs, mommy, ... }: -let - mommy-script = pkgs.writeScript "mommy" (builtins.readFile "${mommy}/shell-mommy.sh"); -in { home.programs.zsh.initExtra = '' - source ${mommy-script} + source ${mommy}/shell-mommy.sh precmd() { if (( $? != 0 )); then; mommy false; fi } ''; }