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

Remove redundancies from PATH #6

Open
Irubataru opened this issue Aug 15, 2021 · 0 comments
Open

Remove redundancies from PATH #6

Irubataru opened this issue Aug 15, 2021 · 0 comments

Comments

@Irubataru
Copy link
Owner

I quite indiscriminately add to PATH whenever I think I could need it, which means there will be a lot of repeated entries. I do not know if that is an issue, but it at the very least is a bit messy. There are quite a few ways around that:

  • Have a cleanup script that removes redundancies (see this SO answer)
  • From the same answer, have functions that add in a clean way
  • Have ansible tasks that does this for me so I can write it in something other than bash

While on the subject maybe I should create a PATH utility for better looking at the PATH variable.

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

No branches or pull requests

1 participant