Skip to content

Commit

Permalink
Set up git-delta
Browse files Browse the repository at this point in the history
  • Loading branch information
2JS committed Sep 13, 2024
1 parent 75d02bd commit 8f0b089
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions brew/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ brew "bat"
brew "cocoapods"
brew "corepack" # for yarn
brew "csvlens"
brew "git-delta"
brew "direnv"
brew "dvc"
brew "eza"
Expand Down
13 changes: 13 additions & 0 deletions git/gitconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
[commit]
gpgsign = true
[core]
pager = delta
[delta]
dark = true
line-numbers = true
navigate = true
side-by-side = false
[diff]
colorMoved = default
[fetch]
prune = true
[filter "lfs"]
Expand All @@ -9,6 +18,10 @@
smudge = git-lfs smudge -- %f
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[pull]
rebase = true
[push]
Expand Down
1 change: 1 addition & 0 deletions zsh/custom.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ eval "$(jump shell)"
export PAGER=bat
export MANPAGER="sh -c 'col -bx | bat --language man --plain'"
export BAT_CONFIG_PATH="$SETUP/bat/config"
export DELTA_PAGER="less -RF"

0 comments on commit 8f0b089

Please sign in to comment.