Piping to fzf

github logo ・1 min read

So what are some good aliases that you have setup in your zshrc for using FZF? Let me give you some examples of what I have and maybe you can comment on some of your that might be interesting to others.

Some of these I have found on the internet:

alias gcorb='gco --track $(git branch -r | fzf)'
alias gcob='gco $(git branch | fzf)'
alias gmob='git merge $(git branch | fzf)'

fkill() {
  kill -9 $(ps ax | fzf | awk '{ print $1 }')
}

alias apps='dpkg-query --show | fzf'
twitter logo DISCUSS
Classic DEV Post from May 3

What do you code to relax?

My projects have me jumping through hoops of a wide variety of technology, talkin...

John Costanzo profile image
An EmberJs Developer who loves to build web apps

A blogging community of over 100,000 software developers Join dev.to