Skip to content

Commit

Permalink
Correct instructions for fish on NixOS (#37)
Browse files Browse the repository at this point in the history
The promptInit option is deprecated and generates the following error:

```
The option definition `programs.fish.promptInit' in `(path)' no longer has any effect; please remove it.
       Prompt is now configured through the

         programs.fish.interactiveShellInit

       option. Please change to use that instead.
```
  • Loading branch information
phinze authored Sep 1, 2024
1 parent 1f5d3d1 commit b0223ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ To do so, add the following to your configuration (*/etc/nixos/configuration.nix
```nix
{
programs.fish.enable = true;
programs.fish.promptInit = ''
programs.fish.interactiveShellInit = ''
${pkgs.any-nix-shell}/bin/any-nix-shell fish --info-right | source
'';
}
Expand Down

0 comments on commit b0223ee

Please sign in to comment.