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;