Merge branch 'main' of github.com:jonnybarnes/dotfiles
This commit is contained in:
commit
a98c6bdd1c
2 changed files with 27 additions and 8 deletions
32
gitconfig
32
gitconfig
|
@ -16,13 +16,13 @@
|
|||
# Detect whitespace errors when applying a patch
|
||||
whitespace = fix
|
||||
|
||||
[color "diff-highlight"]
|
||||
#[color "diff-highlight"]
|
||||
|
||||
# Colours for `diff-so-fancy`
|
||||
oldNormal = "red bold"
|
||||
oldHighlight = "red bold 52"
|
||||
newNormal = "green bold"
|
||||
newHighlight = "green bold 22"
|
||||
#oldNormal = "red bold"
|
||||
#oldHighlight = "red bold 52"
|
||||
#newNormal = "green bold"
|
||||
#newHighlight = "green bold 22"
|
||||
|
||||
[filter "lfs"]
|
||||
|
||||
|
@ -41,8 +41,24 @@
|
|||
# Automatically correct typos in commands
|
||||
autoCorrect = prompt
|
||||
|
||||
[pager]
|
||||
#[pager]
|
||||
|
||||
# Make diff-so-fancy apply all the time
|
||||
diff = "diff-so-fancy | less --tabs=4 -RFX"
|
||||
show = "diff-so-fancy | less --tabs=4 -RFX"
|
||||
#diff = "diff-so-fancy | less --tabs=4 -RFX"
|
||||
#show = "diff-so-fancy | less --tabs=4 -RFX"
|
||||
|
||||
[core]
|
||||
pager = delta
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[delta]
|
||||
navigate = true # use n and N to move between diff sections
|
||||
|
||||
[merge]
|
||||
conflictstyle = zdiff3
|
||||
|
||||
[diff]
|
||||
algorithm = histogram
|
||||
colorMoved = default
|
||||
|
|
|
@ -118,6 +118,9 @@ if type thefuck &> /dev/null; then
|
|||
eval $(thefuck --alias)
|
||||
fi
|
||||
|
||||
# https://github.com/wfxr/forgit
|
||||
test -e $HOME/git/forgit/forgit.plugin.zsh && source ~/git/forgit/forgit.plugin.zsh
|
||||
|
||||
# Init starship prompt -- https://starship.rs
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue