yizhepku
yizhepku
Would it be useful to include syntax for binary string literals, which looks like `b"deadbeef"`? My use case is patching strings in an executable. I'm currently doing something like ```sh...
### Describe the bug As per the title, I've encountered a panic that only occurs when capturing variables inside an alias in `config.nu`. ### How to reproduce 1. Put the...
Running ``` pub run test 'This is an ***illegal*** filename' ``` will cause OS Error, which is unhandled.
Refer to #12603 for part 1. We need to be careful when migrating to the new API, because the new API has slightly different semantics (PWD can contain symlinks). This...
This PR has two parts. The first part is the addition of the `Stack::set_pwd()` API. It strips trailing slashes from paths for convenience, but will reject otherwise bad paths, leaving...
When given a glob pattern as argument, `ls` will behave in the exact same way as `glob`, listing the paths themselves instead of the content of any directories. Suppose I...
This PR sets the current working directory to the location of the Nushell executable at startup, using `std::env::set_current_dir()`. This is desirable because after PR https://github.com/nushell/nushell/pull/12922, we no longer change our...
This PR adds the current working directory as part of the `Reedline` state, instead of using `std::env::current_dir()` to retrieve it from the environment. Applications should call `Reedline::with_cwd()` to update the...