forked from extern/nushell
efbf4f48c6
Previously, if the user didn't have the appropriate permissions to execute the binary/script, they would see "command not found", which is confusing. This commit eliminates the `which` crate in favour of `ichwh`, which deals better with permissions by not dealing with them at all! This is closer to the behaviour of `which` in many shells. Permission checks are then left up to the caller to deal with. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |