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

support env. variables to define output columns in ls-like tools #2816

Open
karelzak opened this issue Feb 28, 2024 · 0 comments
Open

support env. variables to define output columns in ls-like tools #2816

karelzak opened this issue Feb 28, 2024 · 0 comments
Labels
TODO We going to think about it ;-)

Comments

@karelzak
Copy link
Collaborator

Now it's possible to define output columns only by --output,-o command line options, for example:

  $lsblk --output NAME,SIZE,TYPE

It would be nice also to have an env. variable to define the output. For example

 $ export LSBLK_COLUMNS=NAME,SIZE,TYPE
 $ lsblk

The implementation should be trivial; use genenv() if outarg is NULL.

@karelzak karelzak added the TODO We going to think about it ;-) label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TODO We going to think about it ;-)
Projects
None yet
Development

No branches or pull requests

1 participant