3 ms·
Have a bunch of Makerile commands (pbcopy-api, pbcopy-ui, pbcopy-curr) that use some mishmash of git ls-files, grep, xargs tail -n +1 piped into pbcopy. Kitche
by imaurer 2y ago
Have a bunch of Makerile commands (pbcopy-api, pbcopy-ui, pbcopy-curr) that use some mishmash of git ls-files, grep, xargs tail -n +1 piped into pbcopy.
Kitchen sink command:
pbcopy-all: git ls-files | xargs tail -n +1 | pbcopy
Works like a charm in Q2 2024.
I’m sure this will be a very solved problem by 2025.