(bashrc) alias list=scan
This commit is contained in:
1 parent
9225d3b744
commit
3159ced353
1 file changed
+4
-5
+4
-5
@@ -37,7 +37,10 @@ if ! $(command -v navigate &>/dev/null); then
|
||||
alias stack='dirs -v'
|
||||
fi
|
||||
|
||||
if $(command -v eza &>/dev/null); then
|
||||
if $(command -v scan &>/dev/null); then
|
||||
alias list='scan -Alg --sort ext --permissions octal --time modified'
|
||||
alias tree='scan -Alg --sort ext --permissions octal --time modified -t'
|
||||
elif $(command -v eza &>/dev/null); then
|
||||
alias list='eza -lao --no-permissions --group-directories-first \
|
||||
-s=ext --color=always --time-style long-iso'
|
||||
alias tree='eza -laoT --no-permissions --group-directories-first \
|
||||
@@ -46,10 +49,6 @@ else
|
||||
alias list='ls -hAl --color=auto --group-directories-first'
|
||||
fi
|
||||
|
||||
if $(command -v scan &>/dev/null); then
|
||||
alias show='scan -Alg --sort ext --permissions octal --time modified'
|
||||
fi
|
||||
|
||||
# aliases related to `grep`
|
||||
if $(command -v ug &>/dev/null); then
|
||||
alias ugi='ug -j'
|
||||
|
||||
Reference in new issue
Block a user