Skip to content

File picker wouldn't trigger if @ is not the last non-space character #665

Description

@Malix-Labs

Summary

The file picker wouldn't trigger if @ if not the last non-space character:

  • Working :
    Image
  • Not working :
    Image

Expected Behavior

File picker would trigger even if @ if not the last non-space character

Actual Behavior

File picker wouldn't trigger if @ if not the last non-space character

Steps to reproduce the issue

  1. Open cmd
  2. Type something @
  3. Observes that the file picker would open properly
    Image
  4. Clear the prompt
  5. Type something
  6. Put your cursor before the first character (s)
  7. Prepend a whitespace ( )
  8. Put your cursor before the first character ( )
  9. Type @
  10. Observe that the file picker would not open
    Image

Command Code Version

1.15.0

Operating System

Linux

Terminal/IDE

Ghostty 1.3.1

Shell

nushell

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions