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 use ogham / exa for ls_with_file_shortcuts as ll_command #308

Open
sreeram-dev opened this issue Jan 19, 2021 · 3 comments
Open

Comments

@sreeram-dev
Copy link

sreeram-dev commented Jan 19, 2021

https://github.com/ogham/exa is a ls replacement written in rust and pretty prints output. I was wondering if we can configure ls_with_file_shortcuts to use exa as ll_command.

lib/git/shell_shortcuts.sh - is the file

@sreeram-dev sreeram-dev changed the title Option to use ogham / exa for ls_with_file_shortcuts Option to use ogham / exa for ls_with_file_shortcuts as ll_command Jan 19, 2021
@jeffbyrnes
Copy link
Contributor

I have SCM Breeze’s ll_command disabled, and have these shell aliases instead:

alias l='exa -lgF --icons'
alias ll='l'

@sreeram-dev
Copy link
Author

scm_breeze does a good job of creating shortcuts. I don't want to lose that ability.

@alstanchev
Copy link

alstanchev commented Jul 11, 2023

It's been a while but since i have landed here and maybe others will too, my solution for using 'exa' and maintain the scm_breeze is to edit the ".scm_breeze/lib/git/shell_shortcuts.sh". Replace the definition of the ll_command in the ls_with_file_shortcuts function and adapt the arguments (some are not needed) because they are not one to one.
At the end where the alias la is defined change the -A -> -a

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