Hacker News new | ask | show | jobs
by vim-guru 843 days ago
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.
1 comments

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