nushell/crates/nu-command/src/system
WindSoilder 5419e8ae9d
don't expand tilde if we quote external arguments (#7711)
# Description

As title
Fixes: #7673
Fixes: #4205
Also possiblely fixes: https://github.com/nushell/nushell/issues/6993

# User-Facing Changes

Before:
```
> ^echo "~"
/Users/ttt
```

After:
```
> ^echo "~"
~
```
# Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass

# After Submitting

If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-01-11 19:14:19 -05:00
..
benchmark.rs add input_output_types() to benchmark,cd and config reset (#7455) 2022-12-13 06:10:55 -06:00
complete.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
exec.rs Add "fall-through" signatures (#7527) 2022-12-22 00:33:26 +02:00
mod.rs add a new command to query the registry on windows (#6670) 2022-10-07 13:54:36 -05:00
nu_check.rs Expand Nushell's help system (#7611) 2022-12-30 17:44:37 +02:00
ps.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
registry_query.rs Further cleanup of Span::test_data usage + span fixes (#7595) 2022-12-24 07:41:57 -06:00
run_external.rs don't expand tilde if we quote external arguments (#7711) 2023-01-11 19:14:19 -05:00
sys.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
which_.rs Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00