News for hackers. Stuff that matters.
Re:We need more zero config tools by Zababa on Wednesday October 02, 2024 @08:00AM (#41719626)
fzf (https://github.com/junegunn/fzf) is really great. Very useful for providing a quick and easy user interface. For example, I use it to fuzzy find inside git branches to have an "improved checkout". I do that since at work branches are usually named "<project>-<issue number>", it's faster to search for the issue number.
Re:We need more zero config tools by xk3 on Thursday October 03, 2024 @09:44AM (#41730742)
I do this too!

    function zg --argument branch
        if test "$branch" = -
            git switch -
        else
            git checkout (git branch --list | fzf --query $branch --select-1 --exit-0 | string trim)
        end
    end