|
I know the easiest and most straight forward method is to type But this means it would add start-up overhead since the path has to be re-added every time, right? Would it be "best practice" for me to just forget about adding them globally and stick to the universal method? |
Answered by
faho
May 26, 2026
Replies: 1 comment
|
It's fine - attempting to add 10 paths that already exist in $PATH and 1 that doesn't takes ~1.4ms on my system. That should be entirely negligible overhead. You can measure it with Use whatever you like. |
0 replies
Answer selected by
roakizi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's fine - attempting to add 10 paths that already exist in $PATH and 1 that doesn't takes ~1.4ms on my system. That should be entirely negligible overhead.
You can measure it with
time.Use whatever you like.