LPGhatguy / aftman

Aftman, the prodigal sequel to Foreman
MIT License
162 stars 19 forks source link

Aftman does not install correctly if ~/.zshenv file does not exist (MacOS). #23

Closed christopher-buss closed 2 years ago

christopher-buss commented 2 years ago

Currently aftman will say that it has successfully installed, but if the ~/.zshenv is not present already then it will silently fail without warning as it cannot add it to the system path.

Preferably it should aggressively create this file that is required if it is needed, but at the very least should prompt the user if the file doesn't exist, that they should create it.

Yumacide commented 2 years ago

Aftman already logs at the debug level when PATH isn't modified; maybe this should be a warning instead?