nushell/crates/nu-command/src/filesystem
Gaëtan 1751ac12f4
allow multiple extensions (#10593)
<!--
if this PR closes one or more issues, you can automatically link the PR
with
them by using one of the [*linking
keywords*](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword),
e.g.
- this PR should close #xxxx
- fixes #xxxx

you can also mention related issues, PRs or discussions!
-->

# Description
<!--
Thank you for improving Nushell. Please, check our [contributing
guide](../CONTRIBUTING.md) and talk to the core team before making major
changes.

Description of your pull request goes here. **Provide examples and/or
screenshots** if your changes affect the user experience.
-->

This PR allows `open` to handle files with multiple extensions; i.e it
will try to call `from tar.gz`, `from gz` when calling
```nu
open file.tar.gz
```

# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->
No breaking changes.
2023-10-13 13:45:36 -05:00
..
cd.rs Remove cd w/ abbreviations (#10588) 2023-10-03 10:51:46 +13:00
cp.rs rename nushell's cp command to cp-old making coreutils the default cp (#10678) 2023-10-10 18:13:28 -05:00
glob.rs glob with ../ prefix now works; (#10504) 2023-09-29 06:48:55 -05:00
ls.rs fix clippy (#10659) 2023-10-10 03:31:15 +13:00
mkdir.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
mod.rs Remove cd w/ abbreviations (#10588) 2023-10-03 10:51:46 +13:00
mv.rs show the full directory / file path in "directory not found" error (#10430) 2023-09-26 17:38:58 +08:00
open.rs allow multiple extensions (#10593) 2023-10-13 13:45:36 -05:00
rm.rs Clean up trash support on Android (#10225) 2023-09-05 14:38:23 +02:00
save.rs Invert &Options to Option<&T> (#10315) 2023-09-13 07:00:58 +08:00
start.rs fix clippy (#10659) 2023-10-10 03:31:15 +13:00
touch.rs Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
ucp.rs rename nushell's cp command to cp-old making coreutils the default cp (#10678) 2023-10-10 18:13:28 -05:00
util.rs Fix cp -u/mv -u when the dst doesn't exist (#9662) 2023-07-12 18:12:59 +02:00
watch.rs show the full directory / file path in "directory not found" error (#10430) 2023-09-26 17:38:58 +08:00