Skip to content

feat: ls like regex #1433

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

Open
kongdd opened this issue Mar 28, 2025 · 2 comments
Open

feat: ls like regex #1433

kongdd opened this issue Mar 28, 2025 · 2 comments

Comments

@kongdd
Copy link

kongdd commented Mar 28, 2025

Just like ls *.md, ls src/*.rs

@tertsdiepraam
Copy link
Contributor

This is typically a feature provided by your shell. For example, if I write this in bash:

eza *.md

that works already, just like ls, because ls also doesn't do this itself. Instead, bash expands the pattern into a list of files and passes those to eza as arguments.

In what context are you using these programs so that this doesn't work eza, but does work for ls?

@kongdd
Copy link
Author

kongdd commented Mar 28, 2025

I am using windows powershell. eza *.md gives error. Just wondering whether this feature is possible in windows.

> eza *.md
"*.md": 文件名、目录名或卷标语法不正确。 (os error 123)

> eza md  
"md": 系统找不到指定的文件。 (os error 2)

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

3 participants