Github link: https://github.com/SpyrjaGaldr/path
Github link: https://github.com/SpyrjaGaldr/path
Fish, being a great shell, provides this via `path` command[0]
Potential footgun to make a program rely on this to locate, say, a shared library (as in one of the examples), if there’s a possibility that someone has smuggled a malware’d version of it into, say, /tmp, since it defaults to searching the root directory.
I wonder if a safer default would be to start searches at the current directory rather than the root directory?
vesinisa•2mo ago
autobodie•2mo ago
indemnity•2mo ago
spyrja•2mo ago
blooalien•2mo ago
It's good for finding files fast, and piping the resulting file paths into other tools for further action / handling. It does what it claims to do and does it well. :)
spyrja•2mo ago
jimbokun•2mo ago