mirror of
https://github.com/nushell/nushell.git
synced 2025-08-07 20:29:16 +02:00
fixes #16205 # Description 1. **Adds fallback**: On case-insensitive filesystems (Windows, macOS), falls back to case-insensitive comparison when the standard comparison fails 2. **Maintains filesystem semantics**: Only uses case-insensitive comparison on platforms where it's appropriate ## Before: ```console $> "/etc" | path relative-to "/Etc" Error: nu:🐚:cant_convert × Can't convert to prefix not found. ╭─[entry #33:1:1] 1 │ "/etc" | path relative-to "/Etc" · ───┬── · ╰── can't convert string to prefix not found ╰──── ``` ## After: For Windows and macOS: ```console $> "/etc" | path relative-to "/Etc" | debug -v "" ```
This crate contains the majority of our commands
We allow ourselves to move some of the commands in nu-command
to nu-cmd-*
crates as needed.
Internal Nushell crate
This crate implements components of Nushell and is not designed to support plugin authors or other users directly.