nushell/crates/nu-cli
Wind 20aa59085b
Fix file completions which contains glob pattern (#11766)
# Description
Fixes: https://github.com/nushell/nushell/issues/11762

The auto-completion is somehow annoying if a path contains a glob
pattern, let's say if user type `ls` and it auto-completes to <code>ls
`[a] bc.txt`</code>, and user can't list the file because it's backtick
quoted.

This pr is going to fix it.

# User-Facing Changes
### Before
```
❯ | ls
`[a] bc.txt`        `a bc`
```
### After
```
❯ | ls
"[a] bc.txt"        `a bc`
```
# Tests + Formatting
Done

# After Submitting
NaN
2024-02-08 06:42:50 +08:00
..
src Fix file completions which contains glob pattern (#11766) 2024-02-08 06:42:50 +08:00
tests Fix file completions which contains glob pattern (#11766) 2024-02-08 06:42:50 +08:00
Cargo.toml bump to dev release of nushell 0.90.2 (#11793) 2024-02-07 16:26:03 -06:00
LICENSE Fix rest of license year ranges (#8727) 2023-04-04 09:03:29 +12:00