1
0
mirror of https://github.com/alrayyes/server-dotfiles synced 2023-11-14 15:56:25 +00:00

colorize diff and make sure fzf uses ripgrep

This commit is contained in:
Ryan Kes 2020-08-24 14:14:01 +02:00
parent 6b87c06fdf
commit a626c4f78b

View File

@ -66,4 +66,13 @@ alias g="git"
alias mv="mv -i"
alias rm="rm -i"
# Colorize diff
alias diff="diff --color"
# Make fzf use ripgrep if available
if type rg &> /dev/null; then
export FZF_DEFAULT_COMMAND='rg --files'
export FZF_DEFAULT_OPTS='-m --height 50% --border'
fi
neofetch