From 9477df778dffe4572d2f9c58f587c371383e3664 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Mon, 31 Oct 2022 23:22:38 +0700 Subject: [PATCH] chore(config): use delta chameleon --- data/data.json | 4 ++++ scripts/git.sh | 2 ++ 2 files changed, 6 insertions(+) diff --git a/data/data.json b/data/data.json index 9537042..25bbbc9 100644 --- a/data/data.json +++ b/data/data.json @@ -65,6 +65,10 @@ { "internal": "data/delta/themes.gitconfig", "url": "https://raw.githubusercontent.com/dandavison/delta/master/themes.gitconfig" + }, + { + "internal": "data/delta", + "external": "~/.config/delta" } ] } diff --git a/scripts/git.sh b/scripts/git.sh index 29ac6d6..6ff384b 100755 --- a/scripts/git.sh +++ b/scripts/git.sh @@ -31,3 +31,5 @@ git config --global core.pager delta git config --global interactive.diffFilter "delta --color-only" git config --global delta.navigate true git config --global delta.line-numbers true +git config --global include.path "~/.config/delta/themes.gitconfig" +git config --global delta.features "chameleon"