From d112b1602f1a80bdc4d07c1feba836438719b464 Mon Sep 17 00:00:00 2001 From: Morgan Wattiez Date: Sat, 17 Aug 2019 00:15:27 +0200 Subject: [PATCH] add diff-so-fancy + git alias --- Brewfile | 2 ++ centos.sh | 3 +++ dot_gitconfig | 2 ++ 3 files changed, 7 insertions(+) diff --git a/Brewfile b/Brewfile index 55eba8c..160e876 100644 --- a/Brewfile +++ b/Brewfile @@ -86,3 +86,5 @@ brew "prettyping" brew "glances" # Fuzzy Finder brew "fzf" +# Diff-so-fancy +brew "diff-so-fancy" diff --git a/centos.sh b/centos.sh index ac4894e..daa8a85 100644 --- a/centos.sh +++ b/centos.sh @@ -199,3 +199,6 @@ yum -y install nmon glances git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf yes | ~/.fzf/install exec $SHELL + +# Install diff-so-fancy +curl https://raw.githubusercontent.com/so-fancy/diff-so-fancy/master/third_party/build_fatpack/diff-so-fancy > /usr/local/bin/diff-so-fancy && chmod +x /usr/local/bin/diff-so-fancy diff --git a/dot_gitconfig b/dot_gitconfig index 99f527d..5bb5a0b 100644 --- a/dot_gitconfig +++ b/dot_gitconfig @@ -26,3 +26,5 @@ | awk '{n=$1+0;if(H[n]++>max)max=H[n]}END{for(i=0;i<24;i++){printf\"%02d -%5d \",i,H[i];for(n=0;n