mirror of
https://github.com/nushell/nushell.git
synced 2025-07-08 18:37:07 +02:00
Closes: https://github.com/nushell/nushell/issues/13127 # Description This PR updates the behaviour of `start` in the following ways: Instead of joining the path with CWD, we expand the path. Behaviour on `origin/main`: ``` nushell> ls ~/nushell-test test.txt nushell> start ~/nushell-test/test.txt Error: × Cannot find file or URL: ~/nushell-test/test.txt ... help: Ensure the path or URL is correct and try again. ``` Behaviour in this PR: ``` nushell> ls ~/nushell-test test.txt nushell> start ~/nushell-test/test.txt <opens text editor> ``` # User-Facing Changes `start` now treats the input path differently. This is a breaking change, I believe. Although I'm not sure how breaking it would be in the perspective of the user. # Tests + Formatting I've manually tested this. The test suite for `start` is broken. And even if I fix it, I'm not sure how to test it. I'll need to override the default command list for `start` in the sandbox for testing. # After Submitting I don't think the documentation needs to be updated.
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.