News for hackers. Stuff that matters.
Re:Justpath to explore PATH environment variable quickly by nolongerthere on Sunday February 25, 2024 @09:22PM (#39507007)
I’m struggling to understand the use case for this aside from just checking if your own directory is on the path.
Re:Justpath to explore PATH environment variable quickly by OccamsMirror on Monday February 26, 2024 @02:21AM (#39508443)
Re:Justpath to explore PATH environment variable quickly by epogrebnyak on Monday February 26, 2024 @02:09PM (#39515569)
For me the use case was trying to understand what directories should I clean from path and if there where duplicates. Just something to help understand if my PATH on Windows was repetitive or not.
Re:Justpath to explore PATH environment variable quickly by epogrebnyak on Tuesday February 27, 2024 @05:09AM (#39522290)
Actually funny enough does not do that - cool possible feature

Should it be `justpath --contains .`?

Opened issue here: https://github.com/epogrebnyak/justpath/issues/10

Re:Justpath to explore PATH environment variable quickly by nolongerthere on Tuesday February 27, 2024 @08:45AM (#39524013)
I was thinking you’d pipe the results and check that way