feature: git: Using delta as difftool

This also enables highlighting in the fzf-fish for git-related searches
This commit is contained in:
Ivan Golikov 2026-09-12 03:46:03 +02:00
parent ecde3dc29b
commit 6699bf3dcf
2 changed files with 14 additions and 13 deletions

View file

@ -40,6 +40,7 @@
fzf
fd
bat
delta
# # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
@ -94,6 +95,9 @@
programs.home-manager.enable = true;
programs.fish = {
enable = true;
shellInit = ''
set fzf_diff_highlighter delta --paging=never --width=20
'';
shellInitLast = ''
zoxide init fish | source
'';