-
Notifications
You must be signed in to change notification settings - Fork 2.1k
tab completion + mv results in "could not file any files matching this glob pattern" #9222
Copy link
Copy link
Closed
Labels
A:globBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansionBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansioncategory:bugSomething isn't workingSomething isn't workingdeprecated:duplicate(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issue(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issue
Description
Describe the bug
Today I had to drop to zsh to tab complete and move a complexly named file:
zsh: mv Rick<tab> gets me:
❯ mv Rick\ Astley\ -\ Never\ Gonna\ Give\ You\ Up\ \(Official\ Music\ Video\)\ \[dQw4w9WgXcQ\].webm rick.webm
nu: same thing gets me:
╭ zeph /tmp 0s ✘1
╰─▶ mv `Rick Astley - Never Gonna Give You Up (Official Music Video) [dQw4w9WgXcQ].webm` rick.webm
Error:
───────────────────────────────────────┬────────────────────────────────────────
· ╰── could not find any files matching this glob pattern
How to reproduce
try to move a complexly named file by tab completing it
Expected behavior
whatever tab completion offers should be a useable string identifier to nushell to mean that file
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.80.0 |
| branch | |
| commit_hash | |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.69.0 (84c898d65 2023-04-16) (built from a source tarball) |
| cargo_version | cargo 1.69.0 |
| build_time | 1980-01-01 00:00:00 +00:00 |
| build_rust_channel | release |
| features | default, zip |
| installed_plugins |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:globBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansionBehavior around file-system globbing with regular commands or `glob`. See also A:quoting/expansioncategory:bugSomething isn't workingSomething isn't workingdeprecated:duplicate(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issue(deprecated: use GitHub's "close as duplicate" feature) This issue is a duplicate of another issue