Merge pull request #91794 from rnhmjoj/fish-mandb

nixos/fish: enable man cache generation
This commit is contained in:
Michele Guerini Rocco 2020-06-30 13:43:22 +02:00 committed by GitHub
commit 5abeb133de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,6 +102,9 @@ in
programs.fish.shellAliases = mapAttrs (name: mkDefault) cfge.shellAliases;
# Required for man completions
documentation.man.generateCaches = true;
environment.etc."fish/foreign-env/shellInit".text = cfge.shellInit;
environment.etc."fish/foreign-env/loginShellInit".text = cfge.loginShellInit;
environment.etc."fish/foreign-env/interactiveShellInit".text = cfge.interactiveShellInit;