News for hackers. Stuff that matters.
Re:Show HN: Sendenv, a CLI tool to share environment variables by latexr on Tuesday January 23, 2024 @11:11AM (#39105265)
> sendenv also writes to "~/.bash_profile", "~/.zshrc"

Is there at least a prompt? I dislike and distrust tools which write to those files on their own. My shell’s startup files are organised how I want, with different sections depending on what’s relevant. It’s the entry point to every terminal session so I know what every line does. I don’t appreciate when a tool decides it’s OK to latch itself to every terminal session in a disorganised manner without permission, especially since those additions are seldom removed when the tool is uninstalled.

Re:Show HN: Sendenv, a CLI tool to share environment variables by aster0id on Tuesday January 23, 2024 @05:00PM (#39110552)
Fair point. I'll add a prompt. I was also planning to give users the ability to choose how the variables are set in general.

Cleaning up after uninstall is also a good idea.

Thanks for the feedback!