I was reminded by @jwworth.bsky.social that there is another way to do this and I think I like it better than piping.
`pbcopy < .envrc`
`pbcopy < .envrc`
Reposted from
🎱 Josh Branchaud ✨
I wish I didn't mix this up as often as I do.
I always try to redirect to `pbcopy` (when then means I have to delete a file `./pbcopy`) instead of piping to `pbcopy` (putting some text on my system clipboard).
Don't be like me. Pipe to pbcopy.
I always try to redirect to `pbcopy` (when then means I have to delete a file `./pbcopy`) instead of piping to `pbcopy` (putting some text on my system clipboard).
Don't be like me. Pipe to pbcopy.
Comments