summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index 4977ed48..86e9224c 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -14,8 +14,8 @@ let
     then ""
     else "--time-style=long-iso";
   zshrc = ".config/zsh/.zshrc";
-  mkZshPlugin = attrs: {
-    name = attrs.name;
+  mkZshPlugin = attrs@{ name, file ? "${name}.plugin.zsh", ... }: {
+    inherit name file;
     src = stdenv.mkDerivation {
       inherit (attrs) src;
       name = "zsh-plugin-${attrs.name}";