From 6de83b778f405b7d48949f466e23efc8f5fee8ee Mon Sep 17 00:00:00 2001 From: krizej Date: Mon, 11 Nov 2024 02:31:16 +0100 Subject: [PATCH] more font shenanigans --- modules/stuff/fish.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/stuff/fish.nix b/modules/stuff/fish.nix index d451826..d8ba168 100644 --- a/modules/stuff/fish.nix +++ b/modules/stuff/fish.nix @@ -50,6 +50,21 @@ in { "mv" = "mv -v"; } // cfg.abbrs; + shellInit = '' + set -g __fish_git_prompt_char_stateseparator "|" + set -g __fish_git_prompt_char_cleanstate "" + set -g __fish_git_prompt_char_dirtystate "+" + set -g __fish_git_prompt_char_invalidstate "x" + set -g __fish_git_prompt_char_stagedstate "*" + set -g __fish_git_prompt_char_stashstate "\$" + set -g __fish_git_prompt_char_untrackedfiles "%" + set -g __fish_git_prompt_char_upstream_ahead "^" + set -g __fish_git_prompt_char_upstream_behind "v" + set -g __fish_git_prompt_char_upstream_diverged "<>" + set -g __fish_git_prompt_char_upstream_equal "=" + # set __fish_git_prompt_char_upstream_prefix "" + ''; + functions = let readlink = lib.getExe' pkgs.coreutils "readlink"; which = lib.getExe pkgs.which;