nushell/crates/nu-command/src/filesystem
David Matos 1fd1a3a456
Support URLs in start command (#7799)
# Description
Fixes issue #7792 Fix basically by @kubouch , "stolen" by me :). Edit:
Added "proper" fix rather than the one liner
```
start Cargo.toml
// Opens in default editor 
```

```
start https://www.google.com [alternative_browser]
// Opens page in default browser or another browser if specified
```

# User-Facing Changes

_(List of all changes that impact the user experience here. This helps
us keep track of breaking changes.)_

# Tests + Formatting

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

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

- [X] `cargo fmt --all -- --check` to check standard code formatting
(`cargo fmt --all` applies these changes)
- [X] `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- [X] `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-02-16 13:33:25 +00:00
..
cd_query.rs Fix typos by codespell (#7600) 2022-12-26 02:31:26 -05:00
cd.rs #8027 Hide implementation details in invalid cd call (#8049) 2023-02-13 02:24:48 +00:00
cp.rs Filesystem commands print --verbose to stderr (#8014) 2023-02-09 10:29:34 -08:00
glob.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
ls.rs Benchmark each pipeline element (#7854) 2023-02-11 21:35:48 +00:00
mkdir.rs Filesystem commands print --verbose to stderr (#8014) 2023-02-09 10:29:34 -08:00
mod.rs move BufferedReader out of nu-command (#7697) 2023-01-06 15:22:17 -08:00
mv.rs Filesystem commands print --verbose to stderr (#8014) 2023-02-09 10:29:34 -08:00
open.rs Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
rm.rs Filesystem commands print --verbose to stderr (#8014) 2023-02-09 10:29:34 -08:00
save.rs Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
start.rs Support URLs in start command (#7799) 2023-02-16 13:33:25 +00:00
touch.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
util.rs move BufferedReader out of nu-command (#7697) 2023-01-06 15:22:17 -08:00
watch.rs Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00