Mikołaj Lercher 2025-11-25 14:04:20 +01:00 committed by GitHub
parent 381f4f8a3a
commit 295d90e22d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 0 deletions

View file

@ -11,6 +11,7 @@ in
programs.bash.enable = true;
programs.fish.enable = true;
programs.zsh.enable = true;
programs.nushell.enable = true;
# Needed to avoid error with dummy fish package.
xdg.dataFile."fish/home-manager_generated_completions".source = lib.mkForce (
@ -36,5 +37,11 @@ in
assertFileExists home-files/.config/fish/config.fish
assertFileRegex \
home-files/.config/fish/config.fish '${fishRegex}'
# Nushell integration
assertFileExists home-files/.config/nushell/config.nu
assertFileContains \
home-files/.config/nushell/config.nu \
'$env.config.hooks.command_not_found = (source @nix-index@/etc/profile.d/command-not-found.nu)'
'';
}