[TERMINAL] Add exa and delta

Exa is a nice replacement for ls
Delta is a really nice git diff viewer :)
This commit is contained in:
Tobias Manske 2021-04-05 01:47:56 +02:00
parent 2b4d3a9fbc
commit 72de71850a
Signed by: tobias
GPG Key ID: D5914DC71F2F9352
2 changed files with 12 additions and 0 deletions

View File

@ -13,7 +13,18 @@
template = ~/.gitmessage template = ~/.gitmessage
[core] [core]
autocrlf = input autocrlf = input
pager = delta
[github] [github]
user = rad4day user = rad4day
[pull] [pull]
rebase = true rebase = true
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
syntax-theme = OneHalfDark
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none

1
.zshrc
View File

@ -130,6 +130,7 @@ source /usr/share/fzf/key-bindings.zsh
alias pdfdiff="diffpdf" alias pdfdiff="diffpdf"
alias cb="xclip -sel clipboard" alias cb="xclip -sel clipboard"
alias vi="vim" alias vi="vim"
alias ls="exa"
# GPG for SSH # GPG for SSH
export GPG_TTY="$(tty)" export GPG_TTY="$(tty)"