1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-23 10:19:48 +01:00

powerline-go: fix regression introduced by #2231 (#2421)

This commit is contained in:
betaboon 2021-10-29 04:09:20 +02:00 committed by GitHub
parent 158bc59398
commit cf4866d218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ in {
'';
# https://github.com/justjanne/powerline-go#fish
programs.fish.promptInit =
programs.fish.interactiveShellInit =
mkIf (cfg.enable && config.programs.fish.enable) ''
function fish_prompt
eval ${pkgs.powerline-go}/bin/powerline-go -error $status -jobs (count (jobs -p)) ${commandLineArguments}