add diff-so-fancy + git alias
This commit is contained in:
parent
fcce7664b2
commit
d112b1602f
2
Brewfile
2
Brewfile
@ -86,3 +86,5 @@ brew "prettyping"
|
||||
brew "glances"
|
||||
# Fuzzy Finder
|
||||
brew "fzf"
|
||||
# Diff-so-fancy
|
||||
brew "diff-so-fancy"
|
||||
|
@ -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
|
||||
|
@ -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<H[i]/max*50;n++){printf \"*\"}print\"\"}}'"
|
||||
[help]
|
||||
autocorrect = -1 # not more git psuh
|
||||
[core]
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
|
Loading…
Reference in New Issue
Block a user