Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can't edit this anymore.

    pick-status-files = "!f() { git status -z | xargs -0n1 | cut -c4- | fzi --print0 | xargs -0to git "$@"; }; f"
can just be:

    pick-status-files = !git status -z | xargs -0n1 | cut -c4- | fzi --print0 | xargs -0t git
I'd recently converted it from a standalone script so I just converted it verbatim into a function.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: