nushell/tests/fixtures/quoted_completions
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
..
test dir fix: complete paths surrounded by quotes or backticks (#10600) 2023-10-07 05:45:30 +13:00
--help Escape path that could be a flag (#10721) 2023-10-18 23:02:11 +02:00
-42 Escape path that could be a flag (#10721) 2023-10-18 23:02:11 +02:00
-inf Escape path that could be a flag (#10721) 2023-10-18 23:02:11 +02:00
4.2 Escape path that could be a flag (#10721) 2023-10-18 23:02:11 +02:00
[a] bc.txt Fix file completions which contains glob pattern (#11766) 2024-02-08 06:42:50 +08:00
te st.txt Add quotes to hash file autocomplete (#7398) 2022-12-08 21:37:10 +01:00
te#st.txt Add quotes to hash file autocomplete (#7398) 2022-12-08 21:37:10 +01:00
te'st.txt Add quotes to hash file autocomplete (#7398) 2022-12-08 21:37:10 +01:00
te(st).txt Auto-Completion: put ` tildes around filenames with parentheses (#7712) 2023-01-10 20:41:54 +01:00