You must log in or register to comment.
Those of you reading this might also be interested in two_percent, which is a fork of
skim
, which in turn is a Rust implementation of fzf. two_percent is faster, more efficient and uses less memory thanfzf
, which is especially noticeable with large inputs.But y 2% instead of skim?
What’s the difference between two_percent and skim?
It’s faster and more memory efficient basically. skim also appears to have been abandoned (no updates in over an year), whereas two_percent is being actively developed.
function delete-branches() { git branch | grep --invert-match '\*' | cut -c 3- | fzf --multi --preview="git log {} --" | xargs --no-run-if-empty git branch --delete --force }
This is really slick.