mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
update from exa to eza
This commit is contained in:
parent
e85471200f
commit
0a13400ab7
|
@ -8,16 +8,16 @@
|
||||||
# {{@@ header() @@}}
|
# {{@@ header() @@}}
|
||||||
#
|
#
|
||||||
|
|
||||||
# exa - set aliasses for exa to use it as ls replacement
|
# eza - set aliasses for eza to use it as ls replacement
|
||||||
if [[ $(command -v exa) ]]; then
|
if [[ $(command -v eza) ]]; then
|
||||||
exafunc() {
|
ezafunc() {
|
||||||
exa -l -F -g -h --git --group-directories-first --icons ${@:-}
|
eza -l -F -g -h --git --group-directories-first --icons ${@:-}
|
||||||
}
|
}
|
||||||
lfunc() {
|
lfunc() {
|
||||||
exafunc -T -L ${1:-1}
|
ezafunc -T -L ${1:-1}
|
||||||
}
|
}
|
||||||
lafunc() {
|
lafunc() {
|
||||||
exafunc -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'
|
||||||
|
|
Loading…
Reference in a new issue