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

Add --time-style=hide #383

Closed
thibran opened this issue Apr 26, 2018 · 2 comments
Closed

Add --time-style=hide #383

thibran opened this issue Apr 26, 2018 · 2 comments

Comments

@thibran
Copy link

thibran commented Apr 26, 2018

ls allows to hide the date and time columns with ls -l --time-style=+"". It would be nice if exa could accomplish the same.

~> ls -l --time-style=+""
total 36
drwxr-xr-x  6 tux users  4096  Desktop/
drwxr-xr-x 15 tux users  4096  Documents/
drwxr-xr-x  7 tux users  4096  Downloads/
drwxr-xr-x  9 tux users  4096  Music/
drwxr-xr-x  6 tux users   164  Pictures/
drwxr-xr-x 17 tux users   195  src/
drwxr-xr-x  5 tux users    97  Videos/

Suggested solutions:

  • Add --time-style hide
  • Or add a new flag --no-date-and-time (might be more accessible) to hide time information

Patch
I wrote a patch which adds the hide variant to --time-style, would you like to get a pull request to merge it upstream?

@thibran thibran changed the title Add --time-style=none Add --time-style=hide Apr 27, 2018
@dallbee
Copy link

dallbee commented May 15, 2018

+1

@ogham
Copy link
Owner

ogham commented May 28, 2018

I never thought about using --time-style to hide the column! The eventual goal is to make every column hideable and reorderable in #161.

@ogham ogham closed this as completed May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants