Skip to content

Commit

Permalink
zsh: fix no matches found - see #4
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Aug 23, 2024
1 parent 753d930 commit 72bce66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/defaults/zsh/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{ pkgs, ... }: {
programs.zsh = {
enable = true;
interactiveShellInit = builtins.readFile ./zshrc;
interactiveShellInit = builtins.readFile ./zshrc + ''
# fixes "no matches found"
unsetopt EXTENDED_GLOB
'';
};

users.defaultUserShell = pkgs.zsh;
Expand Down

0 comments on commit 72bce66

Please sign in to comment.