DEV Community

John Costanzo
John Costanzo

Posted on

Piping to fzf

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'
Enter fullscreen mode Exit fullscreen mode

Oldest comments (0)