Skip to content

output of bun.$ls -a is the same as bun.$ls -al #25831

@guuzaa

Description

@guuzaa

What version of Bun is running?

0.15.2

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

import { $ } from "bun";

await $`ls -al`
await $`ls -a`

What is the expected behavior?

The first command will use a long listing.

What do you see instead?

The first command doesn't use a long listing.

Additional information

I've checked src/shell/builtin/ls.zig. I found the code doesn't handle long_listing parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions