use extetded option only with a seperate alias

This commit is contained in:
Philip Henning 2023-09-13 11:37:19 +02:00
parent 0a13400ab7
commit 6ea42dc4a2

View file

@ -17,12 +17,17 @@ if [[ $(command -v eza) ]]; then
ezafunc -T -L ${1:-1} ezafunc -T -L ${1:-1}
} }
lafunc() { lafunc() {
ezafunc -a -T -L ${1:-1}
}
lefunc() {
ezafunc -a -T -L ${1:-1} --extended ezafunc -a -T -L ${1:-1} --extended
} }
alias l='lfunc' alias l='lfunc'
alias la='lafunc' alias la='lafunc'
alias ll="lfunc 2" alias le='lefunc'
alias ll='lfunc 2'
alias lla='lafunc 2' alias lla='lafunc 2'
alias lle='lefunc 2'
fi fi
# wttr - show the weather forecast in Terminal # wttr - show the weather forecast in Terminal