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

Customizations and/or options/flags #23

Closed
RobertAudi opened this issue Dec 28, 2014 · 5 comments
Closed

Customizations and/or options/flags #23

RobertAudi opened this issue Dec 28, 2014 · 5 comments

Comments

@RobertAudi
Copy link

It would be great if one could customize the behavior / looks of k. Here are some aspects that I would personally like to tweak without hacking the script directly:

  • Verbosity
    • In some cases, I would like to hide some of the info (e.g.: the permissions, ownership and modification date and time).
    • Also, I think k should mimic the behaviour of ls -Al instead of ls -al (do not show . and ..) (Same as emulate -A and -h ls flags #21)
  • Looks
    • Colors (potentially)
    • Looks (e.g.: representation of the git status)

The customizations should be applied either via options on the command line (which would enable the use of aliases) or environment variables.

@chrstphrknwtn
Copy link
Contributor

@RobertAudi I'm currently attempting to rewriting k to work in bash, and CLI flags are something that I'm planning to implement so k has similar (hopefully the same) options as ls.

Regarding customising the representations of git status, what did you have in mind?

@RobertAudi
Copy link
Author

@chrstphrknwtn Not sure about the git status representation. But I think it should definitely be made more clear. Maybe symbols or letters to mimic git status --porcelain (?)

@supercrabtree
Copy link
Owner

Closing as duplicate of #27

@hatzopoulos
Copy link

hatzopoulos commented Jun 21, 2018

@chrstphrknwtn

I'm currently attempting to rewriting k to work in bash, and CLI flags are something that I'm planning to implement so k has similar (hopefully the same) options as ls.

I realize your comment was close to four years ago but did you ever port this to bash? If not, could you tell me what were the main challenges that stopped that? Wondering how do-able it is.

@chrstphrknwtn
Copy link
Contributor

@hatzopoulos

From memory I think it was to do with how bash handles (or doesn’t handle at all) arrays.

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

4 participants