mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
update commonfunc to receive n arguments
This commit is contained in:
parent
6ea42dc4a2
commit
8f391b4d55
|
@ -14,17 +14,17 @@ if [[ $(command -v eza) ]]; then
|
|||
eza -l -F -g -h --git --group-directories-first --icons ${@:-}
|
||||
}
|
||||
lfunc() {
|
||||
ezafunc -T -L ${1:-1}
|
||||
ezafunc -T -L ${@:-}
|
||||
}
|
||||
lafunc() {
|
||||
ezafunc -a -T -L ${1:-1}
|
||||
ezafunc -a -T -L ${@:-}
|
||||
}
|
||||
lefunc() {
|
||||
ezafunc -a -T -L ${1:-1} --extended
|
||||
ezafunc -a -T -L ${@:-} --extended
|
||||
}
|
||||
alias l='lfunc'
|
||||
alias la='lafunc'
|
||||
alias le='lefunc'
|
||||
alias l='lfunc 1'
|
||||
alias la='lafunc 1'
|
||||
alias le='lefunc 1'
|
||||
alias ll='lfunc 2'
|
||||
alias lla='lafunc 2'
|
||||
alias lle='lefunc 2'
|
||||
|
|
Loading…
Reference in a new issue