better ls?
This commit is contained in:
parent
b71ec5603c
commit
c23669ebb8
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ def --env c [path: path = "~"] {
|
||||||
l
|
l
|
||||||
}
|
}
|
||||||
|
|
||||||
def l --wrapped [path: path = ".", ...rest] {
|
def l --wrapped [...rest] {
|
||||||
ls ...$rest $path | sort-by type name -i -n
|
ls -t ...$rest | insert ext {|row| $row.name | parse "{name}.{ext}" | get ext | get 0? } | sort-by type ext name | reject type ext
|
||||||
}
|
}
|
||||||
|
|
||||||
alias list-automounts = systemctl list-units --type=automount
|
alias list-automounts = systemctl list-units --type=automount
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue