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

enhance: improve .zprofile readability and add path handling function #11

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

Conversation

thomasvincent
Copy link
Owner

@thomasvincent thomasvincent commented May 18, 2024

  • Introduce a function add_to_path to safely add directories to the PATH environment variable, ensuring no duplicates are added.
  • Enhance script comments for better clarity and understanding, making it easier for new users or for revisiting the code later.
  • Implement echo statements at the start and end of the script to provide clear feedback during script execution, which aids in troubleshooting and confirms configuration success.

- Introduce a function `add_to_path` to safely add directories to the PATH environment variable, ensuring no duplicates are added.
- Enhance script comments for better clarity and understanding, making it easier for new users or for revisiting the code later.
- Implement echo statements at the start and end of the script to provide clear feedback during script execution, which aids in troubleshooting and confirms configuration success.

Signed-off-by: Thomas Vincent <[email protected]>
@thomasvincent thomasvincent self-assigned this May 18, 2024
@thomasvincent thomasvincent added the enhancement New feature or request label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant