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:
parent
6b87c06fdf
commit
a626c4f78b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user