From 72de71850ab735703fed85434c0c46789d678b3a Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 5 Apr 2021 01:47:56 +0200 Subject: [PATCH] [TERMINAL] Add exa and delta Exa is a nice replacement for ls Delta is a really nice git diff viewer :) --- .gitconfig | 11 +++++++++++ .zshrc | 1 + 2 files changed, 12 insertions(+) diff --git a/.gitconfig b/.gitconfig index c8e2b70..99926e5 100644 --- a/.gitconfig +++ b/.gitconfig @@ -13,7 +13,18 @@ template = ~/.gitmessage [core] autocrlf = input + pager = delta [github] user = rad4day [pull] 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 diff --git a/.zshrc b/.zshrc index 9bb1078..e2fc686 100644 --- a/.zshrc +++ b/.zshrc @@ -130,6 +130,7 @@ source /usr/share/fzf/key-bindings.zsh alias pdfdiff="diffpdf" alias cb="xclip -sel clipboard" alias vi="vim" +alias ls="exa" # GPG for SSH export GPG_TTY="$(tty)"