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

Do not show header if path is a directory #292

Closed
sharkdp opened this issue Sep 7, 2018 · 1 comment
Closed

Do not show header if path is a directory #292

sharkdp opened this issue Sep 7, 2018 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@sharkdp
Copy link
Owner

sharkdp commented Sep 7, 2018

> bat some-directory
[bat error]: Is a directory (os error 21)
───────┬──────────────────────────────────────────────────
       │ File: some-directory
───────┼──────────────────────────────────────────────────

When calling bat on a directory (more typically, when using bat *), we should not print a header for this entry.

@sharkdp
Copy link
Owner Author

sharkdp commented Sep 12, 2018

Released in v0.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant