Updated config
This commit is contained in:
parent
7face48c6f
commit
25651a5367
@ -16,7 +16,8 @@ alias bench "hyperfine --shell=none"
|
|||||||
|
|
||||||
# List
|
# List
|
||||||
alias l "ls"
|
alias l "ls"
|
||||||
alias ll "ls -1"
|
alias ll "ls -l"
|
||||||
|
alias l2 "ls -T -L2"
|
||||||
alias lu "ls -l --total-size --sort=size --reverse --no-permissions --no-user --no-time"
|
alias lu "ls -l --total-size --sort=size --reverse --no-permissions --no-user --no-time"
|
||||||
alias lp "ls -l --no-filesize --no-time"
|
alias lp "ls -l --no-filesize --no-time"
|
||||||
|
|
||||||
|
3
.config/fish/conf.d/cd-ls.fish
Normal file
3
.config/fish/conf.d/cd-ls.fish
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
function cdls --on-variable PWD
|
||||||
|
ls
|
||||||
|
end
|
@ -1,6 +1,6 @@
|
|||||||
function ls
|
function ls
|
||||||
if command -q eza
|
if command -q eza
|
||||||
eza --group-directories-first --time-style relative $argv
|
eza --group-directories-first --time-style relative -T -L1 $argv
|
||||||
else
|
else
|
||||||
command ls $argv
|
command ls $argv
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user