I spend a lot of time in a unix terminal. Here are some of the aliases I use most often. They should work in both bash and Zsh.

Edit all matching files

One of my most used shell alias: edit all files matching a regex in vim, jumping to the first line which matches.

function rge {
    vim -p $(rg -l "$1") +"/$1"
}