Remix.run Logo
tomxor 3 hours ago

  ls | xargs -I % sh -c 'cd %; pwd; [[ $(git status -s) ]] && echo WIP || echo clean'
johnisgood 20 minutes ago | parent [-]

I really like your response and your approach to it; I would like to work with you. :P

I do not need a CLI tool. I can come up with a very simple script or even an one-liner (like you just did) to achieve what I want.

Worth noting that neovim shows some git status when editing a file inside a git repository, and there are ways to do the same from your shell.

FWIW, I think this project was vibe coded with an LLM, but if it works, it works, so it makes no difference to me. The only reason I mentioned it is that "vibe coding" is not inherently bad. I do not even like the term. If you "vibe code" without knowledge, then yeah, it is bad, just as bad as a shitty developer writing code is.