Skip to content

Commands launched via sudo don't go through "tabelization/colorization" #8099

@alesito85

Description

@alesito85

Describe the bug

Not sure how to express myself, but the screenshots below speak for themselves. I couldn't find an existing issue that would deal with that.

I've noticed that when commands are run via sudo, they don't go through "tabelization/colorization". For example regular ls output
image
Output of sudo ls
image
Though I'm assuming this is for separate issue?

How to reproduce

  1. sudo ls
  2. Observe output is standard ls output and not nushell type output

Expected behavior

Output should go through the same process as usual, without sudo.

Screenshots

No response

Configuration

key value
version 0.75.0
branch
commit_hash
build_os macos-aarch64
build_target aarch64-apple-darwin
rust_version rustc 1.67.0 (fc594f156 2023-01-24) (built from a source tarball)
cargo_version cargo 1.67.0
pkg_version 0.75.0
build_time 2023-02-01 00:01:33 +00:00
build_rust_channel release
features database, default, trash, which, zip
installed_plugins

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:external-commandsIssues related to external commandscategory:inconsistent-behaviorBehavior between different commands or types inconsistent/unexpected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions