[bugfix] git log uncolored

This commit is contained in:
Klesh Wong 2020-10-27 18:00:37 +08:00
parent 5ebbb9f368
commit 7d88ea0c5f

View File

@ -5,7 +5,7 @@ set -gx EDITOR nvim
# enable fzf completion hotkey # enable fzf completion hotkey
set -U FZF_COMPLETE 0 set -U FZF_COMPLETE 0
# no line-wrapping, good for `docker ps` # no line-wrapping, good for `docker ps`
set -gx LESS "-SXF" set -gx LESS "-SRXF"
# nvm plugin # nvm plugin
set -gx nvm_mirror http://npm.taobao.org/mirrors/node set -gx nvm_mirror http://npm.taobao.org/mirrors/node
# change OTHER-WRITABLE color for `ls` command # change OTHER-WRITABLE color for `ls` command
@ -14,15 +14,15 @@ set -gx LS_COLORS 'ow=34;42;40'
set -gx HIGHLIGHT_OPTIONS --style=solarized-dark set -gx HIGHLIGHT_OPTIONS --style=solarized-dark
# tune git icon for nerdfont # tune git icon for nerdfont
set -g __fish_git_prompt_char_upstream_ahead ">" set -g __fish_git_prompt_char_upstream_ahead '>'
set -g __fish_git_prompt_char_upstream_behind "<" set -g __fish_git_prompt_char_upstream_behind '<'
set -g __fish_git_prompt_char_upstream_prefix "" set -g __fish_git_prompt_char_upstream_prefix ''
set -g __fish_git_prompt_char_stagedstate "●" set -g __fish_git_prompt_char_stagedstate '●'
set -g __fish_git_prompt_char_dirtystate "*" set -g __fish_git_prompt_char_dirtystate '*'
set -g __fish_git_prompt_char_untrackedfiles "+" set -g __fish_git_prompt_char_untrackedfiles '+'
set -g __fish_git_prompt_char_conflictedstate "x" set -g __fish_git_prompt_char_conflictedstate 'x'
set -g __fish_git_prompt_char_cleanstate "✔ " set -g __fish_git_prompt_char_cleanstate '✔ '
function append-path-if-exists function append-path-if-exists
if test -e $argv if test -e $argv