gg icon indicating copy to clipboard operation
gg copied to clipboard

feat: user-specific installation and PATH reminder

Open teismar opened this issue 1 year ago • 0 comments

Since I always install things like this just for the user, I thought this feature would be nice to have. This enhancement allows for both system-wide and user-specific installation, with a reminder to add the installation path to the user's PATH if necessary.

What I've done:

  • Added interactive prompt to choose between system-wide and user-specific installation.
  • Implemented user-specific installation by moving the script to ~/.local/bin.
  • Added check to remind the user to add ~/.local/bin to their PATH if it's not already included.
  • Updated the version retrieval to work regardless of the installation path.
  • Enhanced script readability with comments explaining each section.

teismar avatar Jun 11 '24 19:06 teismar