1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-02 21:13:33 +02: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 # https://github.com/justjanne/powerline-go#fish
programs.fish.promptInit = programs.fish.interactiveShellInit =
mkIf (cfg.enable && config.programs.fish.enable) '' mkIf (cfg.enable && config.programs.fish.enable) ''
function fish_prompt function fish_prompt
eval ${pkgs.powerline-go}/bin/powerline-go -error $status -jobs (count (jobs -p)) ${commandLineArguments} eval ${pkgs.powerline-go}/bin/powerline-go -error $status -jobs (count (jobs -p)) ${commandLineArguments}