Fix ls aliases

This commit is contained in:
Tim 2023-12-19 00:22:37 +01:00
parent 8bfd6dc881
commit 787ac4f3b0

View File

@ -30,9 +30,10 @@ alias python=python3
TREE_IGNORE="cache|log|logs|node_modules|vendor" TREE_IGNORE="cache|log|logs|node_modules|vendor"
if type "eza" > /dev/null; then if type "eza" > /dev/null; then
alias ls=' eza --group-directories-first' alias ls=' eza --group-directories-first --git -l'
alias la=' ls -a' alias la=' ls -a'
alias ll=' ls --git -l' alias ll=' ls'
alias l=' ll'
alias lt=' ls --tree -D -L 2 -I ${TREE_IGNORE}' alias lt=' ls --tree -D -L 2 -I ${TREE_IGNORE}'
alias ltt=' ls --tree -D -L 3 -I ${TREE_IGNORE}' alias ltt=' ls --tree -D -L 3 -I ${TREE_IGNORE}'
alias lttt=' ls --tree -D -L 4 -I ${TREE_IGNORE}' alias lttt=' ls --tree -D -L 4 -I ${TREE_IGNORE}'