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
1 changed files with 1 additions and 1 deletions

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}