summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2021-04-02 15:44:36 +0200
committerAlan Pearce2021-04-02 15:44:36 +0200
commit5b61513bbf9d9343da90ce96c8eb1204ecd21e70 (patch)
treea53c3d8a51528e3377e1e2e4b0cfad338ab06be5 /user
parent9fb7d2764aebdb471cc3fa6dad4bea0e4a5d27f5 (diff)
downloadnixfiles-5b61513bbf9d9343da90ce96c8eb1204ecd21e70.tar.lz
nixfiles-5b61513bbf9d9343da90ce96c8eb1204ecd21e70.tar.zst
nixfiles-5b61513bbf9d9343da90ce96c8eb1204ecd21e70.zip
zsh: fix zcompile with non-zsh files
Diffstat (limited to 'user')
-rw-r--r--user/settings/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index 79283c6a..4784b825 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -12,7 +12,7 @@ let
       name = "zsh-plugin-${attrs.name}";
       buildInputs = [ pkgs.zsh ];
       buildPhase = ''
-        zsh -c 'for f in **/*; zcompile "$f"'
+        zsh -c 'for f in **/*.zsh; zcompile "$f"'
       '';
       installPhase = ''
         cp -a $PWD $out/