Hacker News new | past | comments | ask | show | jobs | submit login

I think for most of its use-cases, you could replace it with a one-liner: alias path='echo -e ${PATH//:/\\n} ' and work with it via sort and uniq. I've had this alias in my configuration for a couple of decades now, so I'm not bashing on its usefulness though.



or you could just check env for a special variable and load a file once if the env var exists.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: