1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

update git config

This commit is contained in:
Henrik Hautakoski 2025-11-23 22:18:16 +01:00
parent 3004efa797
commit fe51ab6fde
3 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,26 @@
# vim: ft=gitconfig
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
syntax-theme = "custom"
line-numbers = true
file-style = bold blue
file-decoration-style = none
hunk-header-style = line-number
hunk-header-decoration-style = ol gray
line-numbers-left-style = gray
plus-style = syntax "#09200D"
plus-emph-style = syntax "#195724"
minus-style = syntax "#220301"
minus-emph-style = syntax "#4A0702"
line-numbers-plus-style = "green"
line-numbers-minus-style = "red"
line-numbers-zero-style = "#343959"
line-numbers-left-format = " {nm:^1} : "
line-numbers-right-format = "{np:^1} │ "
line-numbers-right-style = "#41476F"
line-numbers-left-style = "#343959"

View file

@ -7,3 +7,6 @@
defaultBranch = main
[fetch]
prune = true
[include]
path = ~/.config/git/delta.gitconfig

View file

@ -30,6 +30,8 @@ ln -sfr $BASE_PATH/tmux/config.conf $HOME/.tmux.conf
ln -sfr $BASE_PATH/Xresources $HOME/.Xresources
ln -sfr $BASE_PATH/picom.conf $HOME/.config/picom.conf
ln -sfr $BASE_PATH/fzfrc $HOME/.config/fzfrc
ln -sfr $BASE_PATH/git/config $HOME/.gitconfig
ln -sfr $BASE_PATH/git/conf.d/ $HOME/.config/git
mkdir -p $HOME/bin
ln -sfr $BASE_PATH/scripts/tmuxs/main.sh $HOME/bin/tmuxs