Open Generator opened 1 year ago
For more info about 2, you can check the arch wiki.
@Generator @Zeioth Firstly, thank you very for taking the interest and time to suggest changes! 👍
I think that adding the key on a .conf
file during install is a great idea and improves the security of the key. Please consider submitting a PR with the changes! I'd be very happy to review and merge that.
The convention for mac is to install scripts in /usr/local/bin
and that's why the script installs it there.
About editing profile files, adding the script to $PATH is essential for providing a good user experience. The install script is meant for users who don't know, or don't care where the script is installed and what their $PATH is. I think that not providing that, would deter first-time users from using it. I believe that users who care where the script is installed, are able (and probably prefer) to install it manually since it is a single file (two with imgcat) and not a difficult process to copy a file and add it to $PATH. In my mind, the install script is not meant to be a script with exhaustive level of control and countless options, but rather a quick way to get started in seconds.
In my opinion, for specific environments i.e. Arch Linux, I think the right place to handle the different conventions are the specific install scripts, like the PKGBUILD
file. Lmk what you think.
Ok I agree with all. I have this couple TODOS for the future then:
1. Don't mess with profiles
Changing user/system profiles not a good idea and can create a mess, use own config instead
Example
install.sh
:Example
chatgpt.sh
:2. Allow user to install on $HOME