Welcome ripgrep.
This commit is contained in:
parent
53be22c311
commit
c1b5ffa61a
@ -1,5 +1,6 @@
|
||||
alias grep='grep --color'
|
||||
alias less='less -r'
|
||||
|
||||
[ $(command -v bat) ] && alias cat='bat -pp --color=always --tabs=2 --theme=Monokai\ Extended\ Bright'
|
||||
if [ $(command -v exa) ]; then
|
||||
alias ls='exa --group-directories-first'
|
||||
alias ll='ls -l --git --octal-permissions --no-permissions'
|
||||
@ -10,13 +11,9 @@ else
|
||||
esac
|
||||
alias ll='ls -l'
|
||||
fi
|
||||
|
||||
[ $(command -v bat) ] && alias cat='bat -pp --color=always --tabs=2 --theme=Monokai\ Extended\ Bright'
|
||||
|
||||
if [ $(command -v fd) ]; then
|
||||
[ -f ~/.local/config/fd ] && alias fd='fd -H -L --ignore-file ~/.local/config/fd' || alias fd='fd -H -L'
|
||||
fi
|
||||
|
||||
if [ $(command -v nvim) ]; then
|
||||
export EDITOR=nvim
|
||||
export MANPAGER="nvim +Man!"
|
||||
@ -27,6 +24,7 @@ elif [ $(command -v vim) ] ; then
|
||||
else
|
||||
export EDITOR=vi
|
||||
fi
|
||||
[ $(command -v rg) ] && alias grep=rg || alias grep='grep --color'
|
||||
|
||||
function ud() {
|
||||
wd dots && git pull
|
||||
|
Loading…
Reference in New Issue
Block a user