Skip to content

Commit

Permalink
zsh: add alias for fd and rg
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmfernandes committed Feb 28, 2024
1 parent 6aa370d commit 0d1f028
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zsh/aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ alias fgrep='fgrep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn,.idea,.tox
# ripgrep
if exists rg; then
alias rga='rg --text' # Treat binary files as text
alias rgu='rg -uuu' # Unrestricted grep (similar to `grep -r`)
fi

# fd
if exists fd; then
alias fdu='fd -uuu' # Unrestricted find
fi

# Make directory with parents
Expand Down

0 comments on commit 0d1f028

Please sign in to comment.