Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if file name contains shell special characters #789

Open
kyoh86 opened this issue Mar 4, 2024 · 1 comment
Open

Error if file name contains shell special characters #789

kyoh86 opened this issue Mar 4, 2024 · 1 comment

Comments

@kyoh86
Copy link

kyoh86 commented Mar 4, 2024

AppRouter in next.js, for example, allows a path parameter to be specified in the file path.
For example: /app/user/[id]
Such a path is recognized as a special pattern by shells such as zsh.
As a result, when you run :TestFile, the shell will search for the file, resulting in the following error

Is it possible to have the file name escaped or quoted before passing it to the shell?

@codeinabox
Copy link
Collaborator

Could you please give me an example what the test file name is, and what the CLI command with escaping would be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants