3 ms·
Love this! Stole it and added a bit of bash-fu to it to avoid needing to define the extra aliases: et() { exa -alT --git -I'.git|node_modules|.mypy_cache|.py
by baumy 5y ago
Love this! Stole it and added a bit of bash-fu to it to avoid needing to define the extra aliases:
et() {
exa -alT --git -I'.git|node_modules|.mypy_cache|.pytest_cache|.venv' --color=always "-L${1:-1}" | less -R
}
commands would now be, e.g. "et 2" instead of "et2", but will work with any number. defaults to 1 if just "et" is run with no argument.