{ ... }: { programs.fish = { enable = true; interactiveShellInit = '' set fish_greeting ''; functions = { fish_prompt.body = '' printf '%s %s > ' (set_color purple)(whoami)@(prompt_hostname) (set_color blue)(prompt_pwd)(set_color normal) ''; fish_right_prompt.body = '' set stat $status set -g __fish_git_prompt_showupstream verbose set -g __fish_git_prompt_showcolorhints 1 printf '%s %s' (fish_vcs_prompt) [(set_color red)$stat(set_color normal)] ''; }; }; }