From be57ba16dd4c985c0166ad812a969acba46aaf49 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 6 Jul 2025 23:08:07 -0500 Subject: [PATCH] made plugin sciprt optional --- homeManagerModules/shell.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/shell.nix b/homeManagerModules/shell.nix index 36cffb8..5c297b3 100644 --- a/homeManagerModules/shell.nix +++ b/homeManagerModules/shell.nix @@ -38,7 +38,9 @@ }; shellAliases.ls = "${pkgs.eza}/bin/eza -lgos type --no-time"; initContent = lib.mkIf config._1password '' - source ${config.home.homeDirectory}/.config/op/plugins.sh + if [ -f "${config.home.homeDirectory}/.config/op/plugins.sh" ]; then + source ${config.home.homeDirectory}/.config/op/plugins.sh + fi ''; }; }