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"
|
brew "glances"
|
||||||
# Fuzzy Finder
|
# Fuzzy Finder
|
||||||
brew "fzf"
|
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
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
yes | ~/.fzf/install
|
yes | ~/.fzf/install
|
||||||
exec $SHELL
|
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\"\"}}'"
|
| 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]
|
[help]
|
||||||
autocorrect = -1 # not more git psuh
|
autocorrect = -1 # not more git psuh
|
||||||
|
[core]
|
||||||
|
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||||
|
Loading…
Reference in New Issue
Block a user