Gabriella439/nixos-in-production

follow up on zsh with nix commands

Closed this issue · 3 comments

Hi this is a follow up on nix commands on zsh as complementary on #8 .
I noticed that each command containing a '#' in some zsh configuration fails.

I came upon the following nix eval .#machine.config.networking.firewall.allowedTCPPorts
this can also be fixed with this: nix eval '.#machine.config.networking.firewall.allowedTCPPorts'

do you happen to know which zsh configuration option requires this?

yes:
setopt extended_glob # Enable more powerful glob features in .zshrc`

shapr commented

I was happily surprised that the book already handled my zsh with extended_glob! 🎉