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

Option to choose columns with -l flag #174

Closed
1 of 5 tasks
schovi opened this issue Jan 15, 2018 · 3 comments
Closed
1 of 5 tasks

Option to choose columns with -l flag #174

schovi opened this issue Jan 15, 2018 · 3 comments

Comments

@schovi
Copy link

schovi commented Jan 15, 2018

Description

Would be awesome to be able to select which columns I want to see with -l flag. Many terminal tutorials and configs come with command ll which is alias for ls -la. I use it exclusively whole day and 99% of cases I only want size and name of file itself (in this case icon and gitstatus too).
With classic ls it can be done with | awk '{print $....}', but it does not work with colorls.

  • Relevant Issues : (none)
  • Relevant PRs : (none)
  • Type of issue :
    • Installation
    • Font-related
    • Feature request
    • Bug in existing feature
    • Developer mode : Code quality / Tests / Documentation
@sbibauw
Copy link

sbibauw commented Feb 27, 2018

A partial solution would be to reproduce -g (= no owner column) and -o (= no group information column) options from ls.

@t-mangoe
Copy link
Contributor

Regarding this issue, I tried to add -g and -o options.
I intend to open a pull request, so please check my code.

@t-mangoe t-mangoe mentioned this issue Nov 21, 2020
5 tasks
@avdv
Copy link
Collaborator

avdv commented Dec 8, 2020

Support for -g and -o implemented in #417 (plus support for -G / --no-group) by @t-mangoe.

If you need anything special you could also use colorls --color=always -l | awk '{print ...}'...

@avdv avdv closed this as completed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants