scmbreeze / scm_breeze

Adds numbered shortcuts to the output git status, and much more

Home Page:https://madebynathan.com/2011/10/19/git-shortcuts-like-youve-never-seen-before/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to use ogham / exa for ls_with_file_shortcuts as ll_command

sreeram-dev opened this issue · comments

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

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

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

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

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