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() @@}}
|
||||
#
|
||||
|
||||
# exa - set aliasses for exa to use it as ls replacement
|
||||
if [[ $(command -v exa) ]]; then
|
||||
exafunc() {
|
||||
exa -l -F -g -h --git --group-directories-first --icons ${@:-}
|
||||
# eza - set aliasses for eza to use it as ls replacement
|
||||
if [[ $(command -v eza) ]]; then
|
||||
ezafunc() {
|
||||
eza -l -F -g -h --git --group-directories-first --icons ${@:-}
|
||||
}
|
||||
lfunc() {
|
||||
exafunc -T -L ${1:-1}
|
||||
ezafunc -T -L ${1:-1}
|
||||
}
|
||||
lafunc() {
|
||||
exafunc -a -T -L ${1:-1} --extended
|
||||
ezafunc -a -T -L ${1:-1} --extended
|
||||
}
|
||||
alias l='lfunc'
|
||||
alias la='lafunc'
|
||||
|
|
Loading…
Reference in a new issue