Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: user-specific installation and PATH reminder #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

teismar
Copy link

@teismar teismar commented Jun 11, 2024

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.

Improve install script with user-specific installation and PATH reminder

- 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant