-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
bat the folders #427
Comments
Wouldn't this break cat/posix compatibility? |
could you perhaps have a shell alias that would check if the target is a file or folder, and if it's a directory, execute |
Thank you for the feedback. I don't think we should add this feature to
That's exactly what I would also suggest. You can start with something simple like function bat-ls() {
for file in "$@"; do
if [[ -d "$file" ]]; then
ls "$file"
else
bat "$file"
fi
done
} (it will not work if you want to pass arguments to |
Closing this, as there is no feedback. |
I like big bat.
It is awesome.
Really great bat.
It's huge.
We gonna have some really great bat.
Let's make bat great again.
Serious content: Make bat show directory content like
ls
.I know batter:
Thank you for reading this. I like you so bat.
rckwrtz/cocanut
The text was updated successfully, but these errors were encountered: